CVE-2022-24805 net-snmp: A buffer overflow in the handling of the INDEX of NET-SNMP-VACM-MIB can cause an out-of-bounds memory access.

Medium 6.5 Published Updated

A buffer overflow in net-snmp allows attackers with read-only credentials to cause out-of-bounds memory access, potentially leading to code execution or 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-2022-24805?

CVE-2022-24805 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 16 Apr 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

net-snmp provides various tools relating to the Simple Network Management Protocol. Prior to version 5.9.2, a buffer overflow in the handling of the `INDEX` of `NET-SNMP-VACM-MIB` can cause an out-of-bounds memory access. A user with read-only credentials can exploit the issue. Version 5.9.2 contains a patch. Users should use strong SNMPv3 credentials and avoid sharing the credentials. Those who must use SNMPv1 or SNMPv2c should use a complex community string and enhance the protection by restricting access to a given IP address range.

Weakness: CWE-120

Which versions are affected by CVE-2022-24805?

It affects 15 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Net-Snmp Net-Snmp, Redhat Enterprise Linux, Redhat Enterprise Linux Eus, Redhat Enterprise Linux for Arm 64 and 9 more.

How do I fix CVE-2022-24805?

Upgrade to a fixed version.

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

Is CVE-2022-24805 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-24805, DEBIAN-CVE-2022-24805, UBUNTU-CVE-2022-24805.

Is CVE-2022-24805 in your software?

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

Check your SBOMs for free