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

 

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

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


Vulnerability identifier: #VU36610
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-17582
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to #BASIC_IMPACT#.

Tcpreplay contains a heap-based buffer over-read. The get_next_packet() function in the send_packets.c file uses the memcpy() function unsafely to copy sequences from the source buffer pktdata to the destination (*prev_packet)->pktdata. This will result in a Denial of Service (DoS) and potentially Information Exposure when the application attempts to process a file.


Affected software

Tcpreplay
Fedora
tcpreplay

How to mitigate CVE-2018-17582

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