Remote code execution in net-snmp



Published: 2020-07-06
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-20892
CWE-ID CWE-415
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Net-snmp
Server applications / Remote management servers, RDP, SSH

Vendor net-snmp.sourceforge.net

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Double Free

EUVDB-ID: #VU29535

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2019-20892

CWE-ID: CWE-415 - Double Free

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing an SNMPv3 GetBulk request in usm_free_usmStateReference in snmplib/snmpusm.c in net-snmp. A remote attacker can pass specially crafted data to the application, trigger double free error and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Net-snmp: 3.0 - 5.8.pre3


CPE2.3 External links

http://www.openwall.com/lists/oss-security/2020/06/25/4
http://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1877027
http://bugzilla.redhat.com/show_bug.cgi?id=1663027
http://github.com/net-snmp/net-snmp/commit/5f881d3bf24599b90d67a45cae7a3eb099cd71c9
http://sourceforge.net/p/net-snmp/bugs/2923/

Q & A

Can this vulnerability be exploited remotely?

How the attacker can exploit this vulnerability?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###