CVE-2020-12740

NameCVE-2020-12740
Descriptiontcprewrite in Tcpreplay through 4.3.2 has a heap-based buffer over-read during a get_c operation. The issue is being triggered in the function get_ipv6_next() at common/get.c.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tcpreplay (PTS)jessie3.4.4-2+deb8u1fixed
stretch3.4.4-3vulnerable
buster4.3.1-1vulnerable
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
tcpreplaysourcejessie(not affected)
tcpreplaysource(unstable)4.3.3-1unimportant

Notes

[jessie] - tcpreplay <not-affected> (Vulnerable code added later)
https://github.com/appneta/tcpreplay/issues/576
https://github.com/appneta/tcpreplay/pull/590
Fixed with: https://github.com/appneta/tcpreplay/issues/578
--fuzz-seed in PoC not present until version 4.2.0
Crash in CLI tool, no security impact

Search for package or bug name: Reporting problems