CVE-2018-18066: Null Pointer Dereference
It was found that snmpoidcompare in snmplib/snmpapi.c in Net-SNMP before 5.8 has a NULL Pointer Exception bug that can be used by an unauthenticated attacker to remotely cause the instance to crash via a crafted UDP packet, resulting in Denial of Service.
References:
https://dumpco.re/blog/net-snmp-5.7.3-remote-dos
Upstream patch:
https://sourceforge.net/p/net-snmp/code/ci/7ffb8e25a0db851953155de91f0170e9bf8c457d/ https://sourceforge.net/p/net-snmp/code/ci/f23bcd3ac6ddee5d0a48f9703007ccc738914791/
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.8 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.8
Event History
Frequently Asked Questions
What is CVE-2018-18066?
CVE-2018-18066 is a vulnerability in Net-SNMP before 5.8 that allows an unauthenticated attacker to remotely crash the instance via a crafted UDP packet, resulting in a denial of service.
How severe is CVE-2018-18066?
CVE-2018-18066 has a severity rating of 7.5 (high).
Which software versions are affected by CVE-2018-18066?
Net-SNMP versions before 5.8, Netapp Cloud Backup, Netapp Hyper Converged Infrastructure, NetApp StorageGRID Webscale, NetApp Data ONTAP, NetApp E-Series SANtricity OS Controller (versions 11.0 to 11.5), and Netapp Solidfire Element Os are affected by CVE-2018-18066.
How can an unauthenticated attacker exploit CVE-2018-18066?
An unauthenticated attacker can exploit CVE-2018-18066 by sending a crafted UDP packet to the vulnerable instance.
Are there any fixes or patches for CVE-2018-18066?
It is recommended to update Net-SNMP to version 5.8 or later to mitigate the vulnerability.