Infinite loop in Tcpdump - CVE-2018-16300

 

Infinite loop in Tcpdump - CVE-2018-16300

Published: October 21, 2019


Vulnerability identifier: #VU22019
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-16300
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop in print-bgp.c:bgp_attr_print() function in the BPG parser. A remote attacker can pass specially crafted data to the affected application, consume all available system resources and cause denial of service conditions.


Affected software

Tcpdump
IBM VIOS
OpenShift Data Foundation (formerly OpenShift Container Storage)
tcpdump (Debian package)
tcpdump (Alpine package)
tcpdump (Red Hat package)
tcpdump
IBM AIX
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Oracle Solaris
Slackware Linux
Opensuse
Fedora

How to mitigate CVE-2018-16300

Install updates from vendor's website.

Tcpdump - update to 4.9.3
tcpdump (Debian package) - addressed in versions 4.9.3-1~deb9u1, 4.9.3-1~deb10u1
tcpdump (Alpine package) - update to 4.9.3-r0
tcpdump (Red Hat package) - update to 4.9.3-1.el8
tcpdump - addressed in versions 4.9.3-1.fc29, 4.9.3-1.fc30, 4.9.3-1.fc31

External References

Related Security Bulletins