CVE-2022-24810: net-snmp: A malformed OID in a SET to the nsVacmAccessTable can cause a NULL pointer dereference.
https://github.com/net-snmp/net-snmp/blob/v5.9.2/CHANGES CVE-2022-24810 A malformed OID in a SET to the nsVacmAccessTable can cause a NULL pointer dereference.
Other sources
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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/net-snmpto a version that resolves this vulnerability.Fixed in 5.9.2 - Upgrade
Upgrade
debian/net-snmpto a version that resolves this vulnerability.Fixed in 5.9.3+dfsg-2+deb12u1Fixed in 5.9.4+dfsg-2+deb13u1Fixed in 5.9.5.2+dfsg-3 - Upgrade
Upgrade
alpine/net-snmpto a version that resolves this vulnerability.Fixed in 5.9.3-r0 - Upgrade
Upgrade
debian/net-snmpto a version that resolves this vulnerability.Fixed in 5.9.3+dfsg-1 - Upgrade
Upgrade
net-snmpto a version that resolves this vulnerability.Fixed in 5.9.2 - Compensating control
For SNMPv1 or SNMPv2c, restrict access to a given IP address range.
- Operational
Use a complex community string for SNMPv1 or SNMPv2c; use strong SNMPv3 credentials and avoid sharing the credentials.
Event History
Frequently Asked Questions
What is the severity of CVE-2022-24810?
The severity of CVE-2022-24810 is rated as high due to the potential for denial of service.
How do I fix CVE-2022-24810?
To fix CVE-2022-24810, upgrade to Net-SNMP version 5.9.2 or later.
Which versions of Net-SNMP are affected by CVE-2022-24810?
Versions of Net-SNMP prior to 5.9.2 are affected by CVE-2022-24810.
What systems are impacted by CVE-2022-24810?
CVE-2022-24810 impacts systems running affected versions of Net-SNMP across various distributions including Red Hat and Debian.
Is there a workaround for CVE-2022-24810 before patching?
A workaround for CVE-2022-24810 is to restrict access to the affected services, if immediate patching is not feasible.