Bug 1072778 (CVE-2014-2285)

Summary: CVE-2014-2285 net-snmp: snmptrapd crash when using a trap with empty community string
Product: [Other] Security Response Reporter: Huzaifa S. Sidhpurwala <huzaifas>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jkurik, jsafrane, pfrields, thozza, vkrizan
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-26 14:49:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1072044, 1073224, 1073225    
Bug Blocks: 1070397    

Description Huzaifa S. Sidhpurwala 2014-03-05 08:27:41 UTC
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:

Proposed upstream patch:

Comment 1 Huzaifa S. Sidhpurwala 2014-03-06 04:26:17 UTC
This issue has been assigned CVE-2014-2285 via:


Comment 4 Tomas Hoger 2014-03-19 22:23:26 UTC
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:


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 17:55:08 UTC
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