CVE-2018-17974

NameCVE-2018-17974
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs910598

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tcpreplay (PTS)jessie3.4.4-2+deb8u1vulnerable
stretch3.4.4-3vulnerable
buster4.3.1-1fixed
bullseye4.3.3-2fixed
bookworm4.4.3-1fixed
sid, trixie4.5.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tcpreplaysourcewheezy(unfixed)end-of-life
tcpreplaysource(unstable)4.3.1-1910598

Notes

[stretch] - tcpreplay <no-dsa> (Minor issue)
[jessie] - tcpreplay <no-dsa> (Minor issue)
https://github.com/appneta/tcpreplay/issues/486

Search for package or bug name: Reporting problems