Skip to content

CVE-2018-17974 An issue was discovered in Tcpreplay 4.3.0 beta1. A heap-based buffer over-read was triggered in the function dlt_en10mb_encode() of the file plugins/dlt_en10mb/en10mb.c, due to inappropriate values i...

MediumCVSS 5.5 EPSS 0.99%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

An issue was discovered in Tcpreplay 4.3.0 beta1. A heap-based buffer over-read was triggered in the function dlt_en10mb_encode() of the file plugins/dlt_en10mb/en10mb.c, due to inappropriate values in the function memmove(). The length (pktlen + ctx -> l2len) can be larger than source value (packet + ctx->l2len) because the function fails to ensure the length of a packet is valid. This leads to Denial of Service.

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 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
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