Skip to content

CVE-2018-17582 Tcpreplay v4.3.0 beta1 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 pk...

HighCVSS 7.1 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

Tcpreplay v4.3.0 beta1 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.

Upgrade path

6 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/tcpreplay(Debian 12) < 4.3.1-1 4.3.1-1 Fixed
debian/tcpreplay(Debian 13) < 4.3.1-1 4.3.1-1 Fixed
debian/tcpreplay(Debian 14) < 4.3.1-1 4.3.1-1 Fixed
ubuntu/tcpreplay(Ubuntu Pro 16.04) < 3.4.4-2+deb8u1ubuntu0.1~esm1; = 3.4.4-2; = 3.4.4-2+deb8u1build0.16.04.1 3.4.4-2+deb8u1ubuntu0.1~esm1 Fixed
ubuntu/tcpreplay(Ubuntu Pro 18.04) < 4.2.6-1ubuntu0.1~esm1; = 4.2.6-1 4.2.6-1ubuntu0.1~esm1 Fixed
broadcom tcpreplay = 4.3.0-beta1; = 4.3.0-beta2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/tcpreplay(Debian:12) < 4.3.1-1 4.3.1-1
debian/tcpreplay(Debian:13) < 4.3.1-1 4.3.1-1
debian/tcpreplay(Debian:14) < 4.3.1-1 4.3.1-1
broadcom tcpreplay = 4.3.0-beta1 No fix listed
broadcom tcpreplay = 4.3.0-beta2 No fix listed
ubuntu/tcpreplay(Ubuntu:Pro:16.04) < 3.4.4-2+deb8u1ubuntu0.1~esm1 3.4.4-2+deb8u1ubuntu0.1~esm1
ubuntu/tcpreplay(Ubuntu:Pro:16.04) = 3.4.4-2 No fix listed
ubuntu/tcpreplay(Ubuntu:Pro:16.04) = 3.4.4-2+deb8u1build0.16.04.1 No fix listed
ubuntu/tcpreplay(Ubuntu:Pro:18.04) < 4.2.6-1ubuntu0.1~esm1 4.2.6-1ubuntu0.1~esm1
ubuntu/tcpreplay(Ubuntu:Pro:18.04) = 4.2.6-1 No fix listed

References