Out-of-bounds read in Tcpreplay - CVE-2018-17580

 

Out-of-bounds read in Tcpreplay - CVE-2018-17580

Published: September 28, 2018 / Updated: June 1, 2021


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

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in the function fast_edit_packet() in the file send_packets.c of Tcpreplay. This can lead to Denial of Service (DoS) and potentially Information Exposure when the application attempts to process a crafted pcap file. A remote attacker can pass specially crafted data to the application, trigger out-of-bounds read error and read contents of memory on the system.


Affected software

Tcpreplay
Fedora
tcpreplay

How to mitigate CVE-2018-17580

Install update from vendor's website.

Tcpreplay - update to 4.3.0
tcpreplay - addressed in versions 4.3.1-1.el7, 4.3.1-1.fc28, 4.3.1-1.fc29

External References

Related Security Bulletins