Buffer overflow in Tcpreplay - CVE-2017-6429

 

Buffer overflow in Tcpreplay - CVE-2017-6429

Published: June 1, 2021


Vulnerability identifier: #VU53698
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-6429
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing pcap files with an over-size packet in the tcpcapinfo utility in Tcpreplay. A remote attacker can create a specially crafted pcap file, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Tcpreplay
Arch Linux
Fedora
tcpreplay

How to mitigate CVE-2017-6429

Install updates from vendor's website.

Tcpreplay - update to 4.2.0 beta1
tcpreplay - addressed in versions 4.1.2-3.el5, 4.1.2-3.el6, 4.1.2-3.el7, 4.1.2-3.fc24, 4.1.2-3.fc25, 4.2.0-1.el6, 4.2.0-1.el7, 4.2.1-1.el5, 4.2.1-1.el6, 4.2.1-1.el7, 4.2.1-1.fc24, 4.2.1-1.fc25, 4.2.1-1.fc26
tcpreplay - update to 4.2.5-1

External References

Related Security Bulletins