CVE-2022-24807 Memory corruption in net-snmp

Medium 6.5 Published Updated

A malformed OID in a SET request can cause out-of-bounds memory access, potentially leading to code execution or denial of service for authenticated users.

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-24807?

CVE-2022-24807 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 malformed OID in a SET request to `SNMP-VIEW-BASED-ACM-MIB::vacmAccessTable` can cause an out-of-bounds memory access. A user with read-write 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-24807?

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-24807?

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-24807 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

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

Is CVE-2022-24807 in your software?

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

Check your SBOMs for free