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.0: 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/E:U/U:Green
CVE-ID: CVE-2018-17582
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: AppNeta
Affected software:
Tcpreplay

Detailed vulnerability description

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.


How to mitigate CVE-2018-17582

Install update from vendor's website.

Sources