Skip to content
Fencer Vulns
medium 6.5

CVE-2022-24807 json

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

published 2024-04-16 2 y ago modified 2026-06-17 4 mo ago also EUVD-2022-29607

cvss
6.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 63%
public exploits
0
none known

Summary

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.

Patch / fix

  • net-snmp net-snmp 5.9.2
  • net-snmp Debian 14, Debian 13, Debian 12 5.9.3+dfsg-1

debian advisories DEBIAN-CVE-2022-24807

  • net-snmp Ubuntu 18.04 LTS 5.7.3+dfsg-1.8ubuntu3.7
  • net-snmp Ubuntu 20.04 LTS 5.8+dfsg-2ubuntu2.4
  • net-snmp Ubuntu 22.04 LTS 5.9.1+dfsg-1ubuntu2.2
  • net-snmp Ubuntu Pro 14.04 LTS 5.7.2~dfsg-8.1ubuntu3.3+esm3
  • net-snmp Ubuntu Pro 16.04 LTS 5.7.3+dfsg-1ubuntu4.6+esm1

ubuntu advisories UBUNTU-CVE-2022-24807

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • net-snmp RHEL 9 1:5.9.1-13.el9_4.3
  • net-snmp-libs RHEL 9 1:5.9.1-13.el9_4.3
  • net-snmp-perl RHEL 9 1:5.9.1-13.el9_4.3
  • net-snmp-utils RHEL 9 1:5.9.1-13.el9_4.3
  • python3-net-snmp RHEL 9 1:5.9.1-13.el9_4.3
  • net-snmp-agent-libs RHEL 9 1:5.9.1-13.el9_4.3
  • net-snmp RHEL 9.2 EUS 1:5.9.1-11.el9_2.2
  • net-snmp-libs RHEL 9.2 EUS 1:5.9.1-11.el9_2.2

red hat advisories RHSA-2024:7875RHSA-2024:7260

  • net-snmp SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 5.9.4-14.3.1
  • net-snmp SLE Module for Package Hub 15 SP4, SLE Module for Package Hub 15 SP3, SLE Module for Basesystem 15 SP4 +6 more 5.9.3-150300.15.3.1

suse advisories SUSE-RU-2024:0029-1SUSE-SU-2022:4205-2SUSE-SU-2022:4205-1

  • net-snmp openSUSE Tumbleweed 5.9.2-1.1

opensuse advisories openSUSE-SU-2024:12174-1

  • net-snmp AlmaLinux 9 1:5.9.1-13.el9_4.3
  • net-snmp-libs AlmaLinux 9 1:5.9.1-13.el9_4.3
  • net-snmp-perl AlmaLinux 9 1:5.9.1-13.el9_4.3
  • net-snmp-utils AlmaLinux 9 1:5.9.1-13.el9_4.3
  • python3-net-snmp AlmaLinux 9 1:5.9.1-13.el9_4.3
  • net-snmp-agent-libs AlmaLinux 9 1:5.9.1-13.el9_4.3

almalinux advisories ALSA-2024:7260

  • net-snmp Rocky Linux 9 1:5.9.1-13.el9_4.3

rocky linux advisories RLSA-2024:7260

  • net-snmp Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 5.9.3-r0

alpine advisories ALPINE-CVE-2022-24807

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-24807 updated cvss 5.9

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

  • Red Hat Enterprise Linux 6 net-snmp, net-snmp-libs, net-snmp-perl, net-snmp-utils, net-snmp-python Red Hat Enterprise Linux 7 net-snmp, net-snmp-gui, net-snmp-libs, net-snmp-perl, net-snmp-utils, net-snmp-python, +2 more
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 net-snmp, net-snmp-libs, net-snmp-perl, net-snmp-utils, net-snmp-agent-libs
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux AppStream (v. 9) net-snmp 5.9.1-13.el9_4.3, net-snmp-libs 5.9.1-13.el9_4.3, net-snmp-perl 5.9.1-13.el9_4.3, net-snmp-utils 5.9.1-13.el9_4.3, python3-net-snmp 5.9.1-13.el9_4.3, net-snmp-agent-libs 5.9.1-13.el9_4.3
    fixed: vendor fix RHSA-2024:7260
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) net-snmp 5.9.1-11.el9_2.2, net-snmp-libs 5.9.1-11.el9_2.2, net-snmp-perl 5.9.1-11.el9_2.2, net-snmp-utils 5.9.1-11.el9_2.2, python3-net-snmp 5.9.1-11.el9_2.2, net-snmp-agent-libs 5.9.1-11.el9_2.2
    fixed: vendor fix RHSA-2024:7875

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.02% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected products

  • net-snmp net-snmp

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.