Null pointer dereference in Net-snmp - CVE-2018-18066

 

Null pointer dereference in Net-snmp - CVE-2018-18066

Published: October 10, 2018 / Updated: October 11, 2018


Vulnerability identifier: #VU15321
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-18066
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote authenticated attacker to cause DoS condition on the target system.

The vulnerability exists in the snmp_oid_compare() function, as defined in the snmplib/snmp_api.c source code file due to a NULL pointer exception bug. A remote attacker can send a malicious UDP packet, trigger a NULL pointer dereference condition, cause the application to crash.


Affected software

Net-snmp
Arch Linux
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Fedora
net-snmp (Red Hat package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
net-snmp
Data Computing Appliance (DCA)

How to mitigate CVE-2018-18066

Update to version 5.8.

Net-snmp - update to 5.8
net-snmp (Red Hat package) - addressed in versions 5.7.2-43.el7_7.6, 5.7.2-47.el7
Data Computing Appliance (DCA) - update to 4.3.0.0
net-snmp - addressed in versions 5.8-3.fc28, 5.8-3.fc29

External References

Related Security Bulletins