Bug 506903 (CVE-2009-1887) - CVE-2009-1887 net-snmp: DoS (division by zero) via SNMP GetBulk requests
Summary: CVE-2009-1887 net-snmp: DoS (division by zero) via SNMP GetBulk requests
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2009-1887
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 506444
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-19 08:26 UTC by Tomas Hoger
Modified: 2019-09-29 12:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-25 14:42:25 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:1124 0 normal SHIPPED_LIVE Moderate: net-snmp security update 2009-06-25 14:34:39 UTC

Description Tomas Hoger 2009-06-19 08:26:00 UTC
It was discovered that remote attacker can cause net-snmp's snmpd to crash via specially crafted SNMP GetBulk requests, that triggers division by zero in the following code:

    if (maxbulk <= 0 || maxbulk > maxresponses / r)
        maxbulk = maxresponses / r;

This code has been added as part of the fix for CVE-2008-4309 (bug #469349).  This problem never affected upstream net-snmp versions, thanks to following upstream commit from 2004:

http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/trunk/net-snmp/agent/snmp_agent.c?r1=9583&r2=9695

This upstream change is part of net-snmp packages shipped in Red Hat Enterprise Linux 4 and later.  Therefore this division by zero DoS only affects net-snmp in Red Hat Enterprise Linux 3.

Comment 2 errata-xmlrpc 2009-06-25 14:34:43 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 3

Via RHSA-2009:1124 https://rhn.redhat.com/errata/RHSA-2009-1124.html


Note You need to log in before you can comment on or make changes to this bug.