Double Free in Tcpreplay - CVE-2022-27416

 

Double Free in Tcpreplay - CVE-2022-27416

Published: October 18, 2022


Vulnerability identifier: #VU68397
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-27416
CWE-ID: CWE-415
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in /tcpedit/plugins/dlt_jnpr_ether/jnpr_ether.c. A remote attacker can pass specially crafted data to the application, trigger a double free error and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Tcpreplay
Gentoo Linux
Ubuntu
tcpreplay (Ubuntu package)
net-analyzer/tcpreplay

How to mitigate CVE-2022-27416

Install updates from vendor's website.

Tcpreplay - update to 4.4.1
tcpreplay (Ubuntu package) - addressed in versions 3.4.4-2+deb8u1ubuntu0.1~esm2, 4.2.6-1ubuntu0.1~esm4, 4.3.2-1ubuntu0.1~esm2, 4.3.4-1ubuntu0.1~esm1
net-analyzer/tcpreplay - update to 4.4.2

External References

Related Security Bulletins