Stack-based buffer over-read in Tcpdump - CVE-2018-19519

 

Stack-based buffer over-read in Tcpdump - CVE-2018-19519

Published: November 27, 2018 / Updated: January 1, 2023


Vulnerability identifier: #VU16161
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2018-19519
CWE-ID: CWE-126
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Tcpdump.org
Affected software:
Tcpdump

Detailed vulnerability description

The vulnerability allows a remote attacker to obtain potentially sensitive information or cause DoS condition.

The vulnerability exists in the print_prefix function, as defined in the print-hncp.c source code file of the affected software due to insufficient initialization of the buf variable. A remote attacker can trick the victim into execution of the tcpdumpcommand on a .pcap file that submits malicious input, trigger a stack-based buffer overread and access sensitive memory information or cause a DoS condition. 


How to mitigate CVE-2018-19519

Install update from vendor's website.

Sources