CVE-2015-5621 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can cause a crash or execute arbitrary code via crafted SNMP packets due to improper memory handling in net-snmp.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2015-5621?

CVE-2015-5621 is a high-severity memory corruption vulnerability in n/a, published on 19 Aug 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-19, CWE-190

Which versions are affected by CVE-2015-5621?

It affects 1 product.

Linux distribution packages (13)
net-snmp SUSE:Linux Enterprise Desktop 11 SP3All versions5.4.2.1-8.12.24.1
net-snmp SUSE:Linux Enterprise Desktop 11 SP4All versions5.4.2.1-8.12.24.1
net-snmp SUSE:Linux Enterprise Desktop 12All versions5.7.2.1-4.3.2
net-snmp SUSE:Linux Enterprise Server 11 SP3All versions5.4.2.1-8.12.24.1
net-snmp SUSE:Linux Enterprise Server 11 SP3-TERADATAAll versions5.4.2.1-8.12.24.1
net-snmp SUSE:Linux Enterprise Server 11 SP4All versions5.4.2.1-8.12.24.1
net-snmp SUSE:Linux Enterprise Server 12All versions5.7.2.1-4.3.2
net-snmp SUSE:Linux Enterprise Server for SAP Applications 11 SP3All versions5.4.2.1-8.12.24.1
net-snmp SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions5.4.2.1-8.12.24.1
net-snmp SUSE:Linux Enterprise Server for SAP Applications 12All versions5.7.2.1-4.3.2
net-snmp SUSE:Linux Enterprise Software Development Kit 11 SP3All versions5.4.2.1-8.12.24.1
net-snmp SUSE:Linux Enterprise Software Development Kit 11 SP4All versions5.4.2.1-8.12.24.1
net-snmp SUSE:Linux Enterprise Software Development Kit 12All versions5.7.2.1-4.3.2

Products include Net-Snmp Net-Snmp.

How do I fix CVE-2015-5621?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2015-5621 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2015-5621 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2015-5621, GHSA-w7cc-jv4p-qccr, SUSE-SU-2015:1524-1, SUSE-SU-2015:1556-1, UBUNTU-CVE-2015-5621.

Is CVE-2015-5621 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free