Bug 1072778 - (CVE-2014-2285) CVE-2014-2285 net-snmp: snmptrapd crash when using a trap with empty community string
CVE-2014-2285 net-snmp: snmptrapd crash when using a trap with empty communit...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20140303,repor...
: Security
Depends On: 1072044 1073224 1073225
Blocks: 1070397
  Show dependency treegraph
 
Reported: 2014-03-05 03:27 EST by Huzaifa S. Sidhpurwala
Modified: 2015-07-31 08:15 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-03-26 10:49:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Huzaifa S. Sidhpurwala 2014-03-05 03:27:41 EST
A remote denial-of-Service flaw was found in the way snmptrapd handled trap requests with empty community string, when the perl handler was enabled. A remote attacker could use this flaw to cause snmp to crash.

More details about the flaw is available at:
https://bugzilla.redhat.com/show_bug.cgi?id=1072044

Proposed upstream patch:
http://sourceforge.net/p/net-snmp/patches/1275/
Comment 1 Huzaifa S. Sidhpurwala 2014-03-05 23:26:17 EST
This issue has been assigned CVE-2014-2285 via:

http://www.openwall.com/lists/oss-security/2014/03/05/9
Comment 4 Tomas Hoger 2014-03-19 18:23:26 EDT
This issue was caused by a bug in perl in the way newSVpv() handled NULL as its first argument.  The perl version shipped in Red Hat Enterprise Linux 5 crashes when newSVpv() is called with NULL argument.  The perl version shipped in Red Hat Enterprise Linux 6 handles NULL values gracefully, and hence net-snmp packages in Red Hat Enterprise Linux 6 are not affected by this problem.

References related to the perl bug and its fix:
http://www.nntp.perl.org/group/perl.perl5.porters/2006/09/msg116250.html
http://perl5.git.perl.org/perl.git/commitdiff/ddfa59c

Statement:

This issue did not affect the versions of net-snmp as shipped with Red Hat Enterprise Linux 6.
Comment 5 errata-xmlrpc 2014-03-24 13:55:08 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2014:0322 https://rhn.redhat.com/errata/RHSA-2014-0322.html

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