CVE-2018-17582 json
Tcpreplay v4.3.0 beta1 contains a heap-based buffer over-read.
published 8y ago modified 4mo ago also EUVD-2018-9330
- cvss
- 7.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- tcpreplay Debian 14, Debian 13, Debian 12 4.3.1-1
debian advisories DEBIAN-CVE-2018-17582
- tcpreplay Ubuntu Pro 16.04 LTS 3.4.4-2+deb8u1ubuntu0.1~esm1
- tcpreplay Ubuntu Pro 18.04 LTS 4.2.6-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2018-17582
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- tcpreplay openSUSE Tumbleweed 4.3.4-1.3
opensuse advisories openSUSE-SU-2024:11426-1
Is CVE-2018-17582 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-17582 updated cvss 3.3
tcpreplay: heap-based buffer over-read in the get_next_packet() in send_packets.c
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.21% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/appneta/tcpreplay/issues/484 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/SegfaultMasters/covering360/blob/master/tcpreplay referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.1 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:N/A:P |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/appneta/tcpreplay/issues/484
exploit, patch, third-party-advisory
-
github.com
/SegfaultMasters/covering360/blob/master/tcpreplay
exploit, third-party-advisory
Sources
- CVE List CVE-2018-17582
- NVD CVE-2018-17582
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.