Vulnerability · Published Apr 16, 2024 · Assigned by GitHub_M
CVE-2022-24810net-snmp: A malformed OID in a SET to the nsVacmAccessTable can cause a NULL pointer dereference.
Medium 6.5
In plain English
A medium-severity null pointer dereference 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.2% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
net-snmp provides various tools relating to the Simple Network Management Protocol. Prior to version 5.9.2, a user with read-write credentials can use a malformed OID in a SET to the nsVacmAccessTable to cause a NULL pointer dereference. 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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | net-snmp | 1:5.9.1-13.el9_4.3 | ALSA-2024:7260 |
| AlmaLinux:9 | net-snmp-agent-libs | 1:5.9.1-13.el9_4.3 | ALSA-2024:7260 |
| AlmaLinux:9 | net-snmp-devel | 1:5.9.1-13.el9_4.3 | ALSA-2024:7260 |
| AlmaLinux:9 | net-snmp-libs | 1:5.9.1-13.el9_4.3 | ALSA-2024:7260 |
| AlmaLinux:9 | net-snmp-perl | 1:5.9.1-13.el9_4.3 | ALSA-2024:7260 |
| AlmaLinux:9 | net-snmp-utils | 1:5.9.1-13.el9_4.3 | ALSA-2024:7260 |
| AlmaLinux:9 | python3-net-snmp | 1:5.9.1-13.el9_4.3 | ALSA-2024:7260 |
| Alpine:v3.20 | net-snmp | 5.9.3-r0 | ALPINE-CVE-2022-24810 |
| Alpine:v3.21 | net-snmp | 5.9.3-r0 | ALPINE-CVE-2022-24810 |
| Alpine:v3.22 | net-snmp | 5.9.3-r0 | ALPINE-CVE-2022-24810 |
| Alpine:v3.23 | net-snmp | 5.9.3-r0 | ALPINE-CVE-2022-24810 |
| Alpine:v3.24 | net-snmp | 5.9.3-r0 | ALPINE-CVE-2022-24810 |
| Debian:12 | net-snmp | 5.9.3+dfsg-1 | DEBIAN-CVE-2022-24810 |
| Debian:13 | net-snmp | 5.9.3+dfsg-1 | DEBIAN-CVE-2022-24810 |
| Debian:14 | net-snmp | 5.9.3+dfsg-1 | DEBIAN-CVE-2022-24810 |
| Rocky Linux:9 | net-snmp | 1:5.9.1-13.el9_4.3 | RLSA-2024:7260 |
| Ubuntu:22.04:LTS | net-snmp | 5.9.1+dfsg-1ubuntu2.2 | UBUNTU-CVE-2022-24810 |
| Ubuntu:22.04:LTS | net-snmp | 5.9.1+dfsg-1ubuntu2.2 | USN-5543-1 |
Affected products (as reported)
Weakness: CWE-476 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/net-snmp/net-snmp/commit/ce66eb97c17aa9a48bc079be7b65895266fa6775
- https://bugzilla.redhat.com/show_bug.cgi?id=2103225
- https://lists.debian.org/debian-lts-announce/2022/08/msg00020.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FX75KKGMO5XMV6JMQZF6KOG3JPFNQBY7/
- https://security.gentoo.org/glsa/202210-29
- https://www.debian.org/security/2022/dsa-5209
- https://bugzilla.redhat.com/show_bug.cgi?id=2105241