Share

Nagios Plugin Development

Tracker: Bugs

5 check_snmp buffer overflow when parsing snmpget replies - ID: 1815362
Last Update: Comment added ( dermoth )

I have found a buffer overflow in check_snmp. It copies to the perfstr char
array from snmpget replies without checking if it grows too big, which is
somewhere around 17,000 characters on my system.

I have attached a patch that corrects this problem.

-- fabiodds


fabiodds ( fabiodds ) - 2007-10-17 21:22

5

Closed

Fixed

Nobody/Anonymous

General plugin execution

None

Public


Comment ( 1 )

Date: 2007-11-09 17:22
Sender: dermoth


this problem is now fixed in cvs. thank you for your report.


Attached File ( 1 )

Filename Description Download
nagiosplugins-checksnmp-crash.patch Download

Changes ( 4 )

Field Old Value Date By
status_id Open 2007-11-09 17:22 dermoth
resolution_id None 2007-11-09 17:22 dermoth
close_date - 2007-11-09 17:22 dermoth
File Added 250217: nagiosplugins-checksnmp-crash.patch 2007-10-17 21:22 fabiodds