Bug 1552844 (CVE-2018-1000116) - CVE-2018-1000116 net-snmp: Heap corruption in snmp_pdu_parse function in snmplib/snmp_api.c
Summary: CVE-2018-1000116 net-snmp: Heap corruption in snmp_pdu_parse function in snmp...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-1000116
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: 1552845
Blocks: 1552846
TreeView+ depends on / blocked
 
Reported: 2018-03-07 20:41 UTC by Pedro Sampaio
Modified: 2021-06-10 15:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
It was discovered that the snmp_pdu_parse() mishandles error codes and is vulnerable to a heap corruption within the parsing of the PDU prior to the authentication process. A remote, unauthenticated attacker could use this flaw to crash snmpd or, potentially, execute arbitrary code on the system with the privileges of the user running snmpd.
Clone Of:
Environment:
Last Closed: 2018-03-19 23:53:39 UTC
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2018-03-07 20:41:51 UTC
The version 5.7.2 was vulnerable to a heap corruption within the parsing of the PDU prior to the authentication process.

Upstream issue:

https://sourceforge.net/p/net-snmp/bugs/2821/

Upstream patch:

https://sourceforge.net/p/net-snmp/code/ci/f23bcd3ac6ddee5d0a48f9703007ccc738914791/

Comment 1 Pedro Sampaio 2018-03-07 20:42:38 UTC
Created net-snmp tracking bugs for this issue:

Affects: fedora-all [bug 1552845]

Comment 2 David Walser 2018-03-15 13:49:38 UTC
The "upstream patch" linked in Comment 0 is the same as for Bug 1212408, which was CVE-2015-5621.

Comment 3 Pedro Yóssis Silva Barbosa 2018-03-19 23:53:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7
  Red Hat Enterprise Linux 6

Via RHSA-2015:1636: https://access.redhat.com/errata/RHSA-2015:1636

Comment 4 Pedro Yóssis Silva Barbosa 2018-03-19 23:53:58 UTC
External References:

https://sourceforge.net/p/net-snmp/bugs/2821/


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