Remote code execution in Net-snmp - CVE-2015-5621
Published: December 21, 2016 / Updated: March 28, 2018
Vulnerability identifier: #VU2215
CSH Severity: High
CVSS v4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-5621
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition or execute arbitrary code on the target system.
The weakness exists due to the snmp_pdu_parse function in snmp_api.c does not remove the varBind variable in a netsnmp_variable_list item when parsing of the SNMP PDU fails. A remote attacker can supply specially crafted input and cause denial of service or execute arbitrary code with elevated privileges.
The weakness exists due to the snmp_pdu_parse function in snmp_api.c does not remove the varBind variable in a netsnmp_variable_list item when parsing of the SNMP PDU fails. A remote attacker can supply specially crafted input and cause denial of service or execute arbitrary code with elevated privileges.
Affected software
Net-snmp
Amazon Linux AMI
Debian Linux
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux EUS Compute Node
AMC Manager
SD-330AC
TIM 1531 IRC
SIMATIC CP 1628
SIMATIC CP 1623
SCALANCE S627-2M
SCALANCE S623
SCALANCE S612
SCALANCE S602
SIMATIC CP443-1 OPC UA
SIMATIC CP 443-1 Advanced
SIMATIC CP 443-1 Standard
SIMATIC CP 343-1 Advanced
SIMATIC CP 1626
IE/PB LINK PN IO
net-snmp (Alpine package)
linux-firmware (Alpine package)
Amazon Linux AMI
Debian Linux
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux EUS Compute Node
AMC Manager
SD-330AC
TIM 1531 IRC
SIMATIC CP 1628
SIMATIC CP 1623
SCALANCE S627-2M
SCALANCE S623
SCALANCE S612
SCALANCE S602
SIMATIC CP443-1 OPC UA
SIMATIC CP 443-1 Advanced
SIMATIC CP 443-1 Standard
SIMATIC CP 343-1 Advanced
SIMATIC CP 1626
IE/PB LINK PN IO
net-snmp (Alpine package)
linux-firmware (Alpine package)
How to mitigate CVE-2015-5621
Install update from vendor's website.
AMC Manager - update to 5.1.0
SD-330AC - update to 1.50
SIMATIC CP 1628 - update to 14.00.15.00_51.25.00.01
SIMATIC CP 1623 - update to 14.00.15.00_51.25.00.01
net-snmp (Alpine package) - update to 5.7.2.1-r2
linux-firmware (Alpine package) - update to 20180615-r2
SD-330AC - update to 1.50
SIMATIC CP 1628 - update to 14.00.15.00_51.25.00.01
SIMATIC CP 1623 - update to 14.00.15.00_51.25.00.01
net-snmp (Alpine package) - update to 5.7.2.1-r2
linux-firmware (Alpine package) - update to 20180615-r2
External References
Related Security Bulletins
- Debian update for net-snmp
- Amazon Linux AMI update for net-snmp
- Red Hat update for net-snmp
- Multiple vulnerabilities in Siemens Industrial Products
- Remote code execution in net-snmp (Alpine package)
- Remote code execution in linux-firmware (Alpine package)
- Multiple vulnerabilities in silex technology SD-330AC and AMC Manager