Description
A vulnerability has been found in tcpreplay 4.5.1. This vulnerability affects the function mask_cidr6 of the file cidr.c of the component tcpprep. The manipulation leads to heap-based buffer overflow. The attack can be initiated remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The researcher is able to reproduce this with the latest official release 4.5.1 and the current master branch. The code maintainer cannot reproduce this for 4.5.2-beta1. In his reply the maintainer explains that "[i]n that case, this is a duplicate that was fixed in 4.5.2."
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | tcpreplay | 4.5.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tcpreplay | 4.5.2-1 | — |
| Debian 13 | tcpreplay | No fix yet | — |
| Debian 12 | tcpreplay | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | tcpreplay | No fix yet | — |
| Ubuntu 26.04 LTS | tcpreplay | No fix yet | — |
| Ubuntu 25.10 | tcpreplay | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | tcpreplay | No fix yet | — |
| Ubuntu Pro 22.04 LTS | tcpreplay | No fix yet | — |
| Ubuntu Pro 20.04 LTS | tcpreplay | No fix yet | — |
| Ubuntu Pro 18.04 LTS | tcpreplay | No fix yet | — |
| Ubuntu Pro 16.04 LTS | tcpreplay | No fix yet | — |
References
- VDB-320080 | tcpreplay tcpprep cidr.c mask_cidr6 heap-based overflow vdb-entry technical-description
- VDB-320080 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #623635 | tcpreplay tcpprep tcpreplay version 6fcbf03 (the newest master in https://github.com/appneta/tcpreplay) Heap Buffer Overflow third-party-advisory
- Submit #623636 | tcpreplay tcpprep tcpreplay version 6fcbf03 (the newest master in https://github.com/appneta/tcpreplay) Heap Buffer Overflow (Duplicate) third-party-advisory
- Submit #623637 | tcpreplay tcpprep tcpreplay version 6fcbf03 (the newest master in https://github.com/appneta/tcpreplay) Heap Buffer Overflow (Duplicate) third-party-advisory
- Submit #623638 | tcpreplay tcpprep tcpreplay version 6fcbf03 (the newest master in https://github.com/appneta/tcpreplay) Heap Buffer Overflow (Duplicate) third-party-advisory
- Submit #623639 | tcpreplay tcpprep tcpreplay version 6fcbf03 (the newest master in https://github.com/appneta/tcpreplay) Heap Buffer Overflow (Duplicate) third-party-advisory
- https://github.com/appneta/tcpreplay/issues/958 issue-tracking
- https://github.com/appneta/tcpreplay/issues/958#issuecomment-3124876035 issue-tracking
- https://drive.google.com/file/d/13SQYVIb_YQoRfaJaaLf6iLtMiCRCHlBc/view?usp=sharing exploit
- https://github.com/appneta/tcpreplay/issues/959 issue-tracking