CVE-2012-2141 Denial of service in n/a

Low 3.5 Published Updated

Remote authenticated users can crash the Net-SNMP daemon via a crafted SNMP GET request, causing a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-2141?

CVE-2012-2141 is a low-severity denial of service vulnerability in n/a, published on 14 Aug 2012. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Array index error in the handle_nsExtendOutput2Table function in agent/mibgroup/agent/extend.c in Net-SNMP 5.7.1 allows remote authenticated users to cause a denial of service (out-of-bounds read and snmpd crash) via an SNMP GET request for an entry not in the extension table.

Which versions are affected by CVE-2012-2141?

It affects 1 product.

Linux distribution packages (40)
net-snmp Red Hat:enterprise_linux:5::clientAll versions1:5.3.2.2-20.el5
net-snmp-debuginfo Red Hat:enterprise_linux:5::clientAll versions1:5.3.2.2-20.el5
net-snmp-libs Red Hat:enterprise_linux:5::clientAll versions1:5.3.2.2-20.el5
net-snmp-perl Red Hat:enterprise_linux:5::clientAll versions1:5.3.2.2-20.el5
net-snmp-utils Red Hat:enterprise_linux:5::clientAll versions1:5.3.2.2-20.el5
net-snmp Red Hat:enterprise_linux:5::client_workstationAll versions1:5.3.2.2-20.el5
net-snmp-debuginfo Red Hat:enterprise_linux:5::client_workstationAll versions1:5.3.2.2-20.el5
net-snmp-devel Red Hat:enterprise_linux:5::client_workstationAll versions1:5.3.2.2-20.el5
net-snmp Red Hat:enterprise_linux:5::serverAll versions1:5.3.2.2-20.el5
net-snmp-debuginfo Red Hat:enterprise_linux:5::serverAll versions1:5.3.2.2-20.el5
net-snmp-devel Red Hat:enterprise_linux:5::serverAll versions1:5.3.2.2-20.el5
net-snmp-libs Red Hat:enterprise_linux:5::serverAll versions1:5.3.2.2-20.el5
net-snmp-perl Red Hat:enterprise_linux:5::serverAll versions1:5.3.2.2-20.el5
net-snmp-utils Red Hat:enterprise_linux:5::serverAll versions1:5.3.2.2-20.el5
net-snmp Red Hat:enterprise_linux:6::clientAll versions1:5.5-41.el6
net-snmp-debuginfo Red Hat:enterprise_linux:6::clientAll versions1:5.5-41.el6
net-snmp-devel Red Hat:enterprise_linux:6::clientAll versions1:5.5-41.el6
net-snmp-libs Red Hat:enterprise_linux:6::clientAll versions1:5.5-41.el6
net-snmp-perl Red Hat:enterprise_linux:6::clientAll versions1:5.5-41.el6
net-snmp-python Red Hat:enterprise_linux:6::clientAll versions1:5.5-41.el6
net-snmp-utils Red Hat:enterprise_linux:6::clientAll versions1:5.5-41.el6
net-snmp Red Hat:enterprise_linux:6::computenodeAll versions1:5.5-41.el6
net-snmp-debuginfo Red Hat:enterprise_linux:6::computenodeAll versions1:5.5-41.el6
net-snmp-devel Red Hat:enterprise_linux:6::computenodeAll versions1:5.5-41.el6
net-snmp-libs Red Hat:enterprise_linux:6::computenodeAll versions1:5.5-41.el6
net-snmp-perl Red Hat:enterprise_linux:6::computenodeAll versions1:5.5-41.el6
net-snmp-python Red Hat:enterprise_linux:6::computenodeAll versions1:5.5-41.el6
net-snmp-utils Red Hat:enterprise_linux:6::computenodeAll versions1:5.5-41.el6
net-snmp Red Hat:enterprise_linux:6::serverAll versions1:5.5-41.el6
net-snmp-debuginfo Red Hat:enterprise_linux:6::serverAll versions1:5.5-41.el6
net-snmp-devel Red Hat:enterprise_linux:6::serverAll versions1:5.5-41.el6
net-snmp-libs Red Hat:enterprise_linux:6::serverAll versions1:5.5-41.el6
net-snmp-perl Red Hat:enterprise_linux:6::serverAll versions1:5.5-41.el6
net-snmp-python Red Hat:enterprise_linux:6::serverAll versions1:5.5-41.el6
net-snmp-utils Red Hat:enterprise_linux:6::serverAll versions1:5.5-41.el6
net-snmp Red Hat:enterprise_linux:6::workstationAll versions1:5.5-41.el6
net-snmp-debuginfo Red Hat:enterprise_linux:6::workstationAll versions1:5.5-41.el6
net-snmp-devel Red Hat:enterprise_linux:6::workstationAll versions1:5.5-41.el6
net-snmp-libs Red Hat:enterprise_linux:6::workstationAll versions1:5.5-41.el6
net-snmp-perl Red Hat:enterprise_linux:6::workstationAll versions1:5.5-41.el6

Products include Net-Snmp Net-Snmp.

How do I fix CVE-2012-2141?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2012-2141 being exploited?

There is no known exploitation of CVE-2012-2141 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2012-2141, GHSA-qx3h-g3gw-6vrx, RHSA-2012:0876, RHSA-2013:0124.

Is CVE-2012-2141 in your software?

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

Check your SBOMs for free