CVEfocus › CVE database › CVE-2022-24805

CVE-2022-24805net-snmp: A buffer overflow in the handling of the INDEX of NET-SNMP-VACM-MIB can cause…

CVSS 6.5 MediumEPSS 1.6% (higher than 75% of CVEs)Published 2024-04-16Updated 2024-08-03Assigner: GitHub_M

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.

CWE-120

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

33Fixed
2Fix pending
21Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04net-snmpFixed5.9.1+dfsg-1ubuntu2.2UBUNTU-CVE-2022-24805
Ubuntu 20.04net-snmpFixed5.8+dfsg-2ubuntu2.4UBUNTU-CVE-2022-24805
Ubuntu 18.04net-snmpFixed5.7.3+dfsg-1.8ubuntu3.7UBUNTU-CVE-2022-24805
Ubuntu 16.04net-snmpFix pending5.7.3+dfsg-1ubuntu4.6+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-24805
Ubuntu 14.04net-snmpFix pending5.7.2~dfsg-8.1ubuntu3.3+esm3 (Ubuntu Pro)UBUNTU-CVE-2022-24805
Debian 14net-snmpFixed5.9.3+dfsg-1DEBIAN-CVE-2022-24805
Debian 13net-snmpFixed5.9.3+dfsg-1DEBIAN-CVE-2022-24805
Debian 12net-snmpFixed5.9.3+dfsg-1DEBIAN-CVE-2022-24805
Red Hat Enterprise Linux 9net-snmpFixed1:5.9.1-13.el9_4.3RHSA-2024:7260
Red Hat Enterprise Linux 9net-snmp-agent-libsFixed1:5.9.1-13.el9_4.3RHSA-2024:7260
Red Hat Enterprise Linux 9net-snmp-develFixed1:5.9.1-13.el9_4.3RHSA-2024:7260
Red Hat Enterprise Linux 9net-snmp-libsFixed1:5.9.1-13.el9_4.3RHSA-2024:7260
Red Hat Enterprise Linux 9net-snmp-perlFixed1:5.9.1-13.el9_4.3RHSA-2024:7260
Red Hat Enterprise Linux 9net-snmp-utilsFixed1:5.9.1-13.el9_4.3RHSA-2024:7260
Red Hat Enterprise Linux 9python3-net-snmpFixed1:5.9.1-13.el9_4.3RHSA-2024:7260
Red Hat Enterprise Linux 8net-snmpWill not fix
Will not fix
Red Hat Enterprise Linux 8net-snmp-agent-libsWill not fix
Will not fix
Red Hat Enterprise Linux 8net-snmp-develWill not fix
Will not fix
Red Hat Enterprise Linux 8net-snmp-libsWill not fix
Will not fix
Red Hat Enterprise Linux 8net-snmp-perlWill not fix
Will not fix
Red Hat Enterprise Linux 8net-snmp-utilsWill not fix
Will not fix
Red Hat Enterprise Linux 7net-snmpWill not fix
Out of support scope
Red Hat Enterprise Linux 7net-snmp-agent-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7net-snmp-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7net-snmp-guiWill not fix
Out of support scope
Red Hat Enterprise Linux 7net-snmp-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7net-snmp-perlWill not fix
Out of support scope
Red Hat Enterprise Linux 7net-snmp-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 7net-snmp-sysvinitWill not fix
Out of support scope
Red Hat Enterprise Linux 7net-snmp-utilsWill not fix
Out of support scope
Red Hat Enterprise Linux 6net-snmpWill not fix
Out of support scope
Red Hat Enterprise Linux 6net-snmp-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6net-snmp-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6net-snmp-perlWill not fix
Out of support scope
Red Hat Enterprise Linux 6net-snmp-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 6net-snmp-utilsWill not fix
Out of support scope
AlmaLinux 9net-snmpFixed1:5.9.1-13.el9_4.3ALSA-2024:7260
AlmaLinux 9net-snmp-agent-libsFixed1:5.9.1-13.el9_4.3ALSA-2024:7260
AlmaLinux 9net-snmp-develFixed1:5.9.1-13.el9_4.3ALSA-2024:7260
AlmaLinux 9net-snmp-libsFixed1:5.9.1-13.el9_4.3ALSA-2024:7260
AlmaLinux 9net-snmp-perlFixed1:5.9.1-13.el9_4.3ALSA-2024:7260
AlmaLinux 9net-snmp-utilsFixed1:5.9.1-13.el9_4.3ALSA-2024:7260
AlmaLinux 9python3-net-snmpFixed1:5.9.1-13.el9_4.3ALSA-2024:7260
Rocky Linux 9net-snmpFixed1:5.9.1-13.el9_4.3RLSA-2024:7260
Alpine Linux 3.24net-snmpFixed5.9.3-r0ALPINE-CVE-2022-24805
Alpine Linux 3.23net-snmpFixed5.9.3-r0ALPINE-CVE-2022-24805
Alpine Linux 3.22net-snmpFixed5.9.3-r0ALPINE-CVE-2022-24805
Alpine Linux 3.21net-snmpFixed5.9.3-r0ALPINE-CVE-2022-24805
Alpine Linux 3.20net-snmpFixed5.9.3-r0ALPINE-CVE-2022-24805
Alpine Linux 3.19net-snmpFixed5.9.3-r0ALPINE-CVE-2022-24805
Alpine Linux 3.18net-snmpFixed5.9.3-r0ALPINE-CVE-2022-24805
Alpine Linux 3.17net-snmpFixed5.9.3-r0ALPINE-CVE-2022-24805
Alpine Linux 3.16net-snmpFixed5.9.3-r0ALPINE-CVE-2022-24805
Alpine Linux 3.15net-snmpFixed5.9.3-r0ALPINE-CVE-2022-24805
Alpine Linux 3.14net-snmpFixed5.9.3-r0ALPINE-CVE-2022-24805
Alpine Linux 3.13net-snmpFixed5.9.3-r0ALPINE-CVE-2022-24805

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.