CVE-2023-4256 Tcpreplay: tcprewrite: double free in tcpedit_dlt_cleanup() in plugins/dlt_plugins.c
A local attacker can cause a denial of service in tcpreplay's tcprewrite tool by providing a crafted file that triggers a double free error.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-4256?
CVE-2023-4256 is a medium-severity use after free vulnerability in Broadcom Tcpreplay, published on 21 Dec 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.
Weakness: CWE-415
Which versions are affected by CVE-2023-4256?
It affects 3 products.
Products include Broadcom Tcpreplay, Fedoraproject Extra Packages for Enterprise Linux, Fedoraproject Fedora.
How do I fix CVE-2023-4256?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2023-4256 being exploited?
There is no known exploitation of CVE-2023-4256 in the wild and no public exploit code.
Other vulnerabilities in Broadcom Tcpreplay
Sources
Also known as DEBIAN-CVE-2023-4256, GHSA-pjxj-fcrm-89x2, UBUNTU-CVE-2023-4256.