Vulnerability · Published Apr 16, 2024 · Assigned by GitHub_M

CVE-2022-24807net-snmp: A malformed OID in a SET request to SNMP-VIEW-BASED-ACM-MIB::vacmAccessTable can cause an out-of-bounds memory access

Medium 6.5

In plain English

A medium-severity buffer overflow in net-snmp from net-snmp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)1.0%top 36.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9net-snmp1:5.9.1-13.el9_4.3ALSA-2024:7260
AlmaLinux:9net-snmp-agent-libs1:5.9.1-13.el9_4.3ALSA-2024:7260
AlmaLinux:9net-snmp-devel1:5.9.1-13.el9_4.3ALSA-2024:7260
AlmaLinux:9net-snmp-libs1:5.9.1-13.el9_4.3ALSA-2024:7260
AlmaLinux:9net-snmp-perl1:5.9.1-13.el9_4.3ALSA-2024:7260
AlmaLinux:9net-snmp-utils1:5.9.1-13.el9_4.3ALSA-2024:7260
AlmaLinux:9python3-net-snmp1:5.9.1-13.el9_4.3ALSA-2024:7260
Alpine:v3.20net-snmp5.9.3-r0ALPINE-CVE-2022-24807
Alpine:v3.21net-snmp5.9.3-r0ALPINE-CVE-2022-24807
Alpine:v3.22net-snmp5.9.3-r0ALPINE-CVE-2022-24807
Alpine:v3.23net-snmp5.9.3-r0ALPINE-CVE-2022-24807
Alpine:v3.24net-snmp5.9.3-r0ALPINE-CVE-2022-24807
Debian:12net-snmp5.9.3+dfsg-1DEBIAN-CVE-2022-24807
Debian:13net-snmp5.9.3+dfsg-1DEBIAN-CVE-2022-24807
Debian:14net-snmp5.9.3+dfsg-1DEBIAN-CVE-2022-24807
Rocky Linux:9net-snmp1:5.9.1-13.el9_4.3RLSA-2024:7260
Ubuntu:22.04:LTSnet-snmp5.9.1+dfsg-1ubuntu2.2UBUNTU-CVE-2022-24807
Ubuntu:22.04:LTSnet-snmp5.9.1+dfsg-1ubuntu2.2USN-5543-1

Affected products (as reported)

VendorProductVersions
net-snmp net-snmp 0 – before 5.9.2

Weakness: CWE-120 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

References