Skip to content

CVE-2015-5621 The snmp_pdu_parse function in snmp_api.c in net-snmp 5.7.2 and earlier does not remove the varBind variable in a netsnmp_variable_list item when parsing of the SNMP PDU fails, which allows remote att...

HighCVSS 7.5 EPSS 38.3% PoC
Published
Updated
Exploit status
Proof-of-concept only
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
UbuntuDebian

Description

The snmp_pdu_parse function in snmp_api.c in net-snmp 5.7.2 and earlier does not remove the varBind variable in a netsnmp_variable_list item when parsing of the SNMP PDU fails, which allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted packet.

Upgrade path

5 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/net-snmp(Debian 12) < 5.7.3+dfsg-1.1 5.7.3+dfsg-1.1 Fixed
debian/net-snmp(Debian 13) < 5.7.3+dfsg-1.1 5.7.3+dfsg-1.1 Fixed
debian/net-snmp(Debian 14) < 5.7.3+dfsg-1.1 5.7.3+dfsg-1.1 Fixed
net-snmp <= 5.7.2 after 5.7.2 Fixed
ubuntu/net-snmp(Ubuntu 14.04) < 5.7.2~dfsg-8.1ubuntu3.1; = 5.7.2~dfsg-8.1ubuntu1; = 5.7.2~dfsg-8.1ubuntu2; = 5.7.2~dfsg-8.1ubuntu3 +2 more 5.7.2~dfsg-8.1ubuntu3.1 Fixed

Affected products

ProductAffected versionsFixed in
debian/net-snmp(Debian:12) < 5.7.3+dfsg-1.1 5.7.3+dfsg-1.1
debian/net-snmp(Debian:13) < 5.7.3+dfsg-1.1 5.7.3+dfsg-1.1
debian/net-snmp(Debian:14) < 5.7.3+dfsg-1.1 5.7.3+dfsg-1.1
net-snmp <= 5.7.2 No fix listed
ubuntu/net-snmp(Ubuntu:14.04) < 5.7.2~dfsg-8.1ubuntu3.1 5.7.2~dfsg-8.1ubuntu3.1
ubuntu/net-snmp(Ubuntu:14.04) = 5.7.2~dfsg-8ubuntu1 No fix listed
ubuntu/net-snmp(Ubuntu:14.04) = 5.7.2~dfsg-8ubuntu2 No fix listed
ubuntu/net-snmp(Ubuntu:14.04) = 5.7.2~dfsg-8.1ubuntu1 No fix listed
ubuntu/net-snmp(Ubuntu:14.04) = 5.7.2~dfsg-8.1ubuntu2 No fix listed
ubuntu/net-snmp(Ubuntu:14.04) = 5.7.2~dfsg-8.1ubuntu3 No fix listed

References