Out-of-bounds read in Tcpreplay - CVE-2018-17582
Published: September 28, 2018 / Updated: June 1, 2021
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
Fedora
tcpreplay
How to mitigate CVE-2018-17582
tcpreplay - addressed in versions 4.3.1-1.el7, 4.3.1-1.fc28, 4.3.1-1.fc29