Heap-based buffer overflow in Tcpreplay - CVE-2022-27418

 

Heap-based buffer overflow in Tcpreplay - CVE-2022-27418

Published: October 18, 2022


Vulnerability identifier: #VU68398
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-27418
CWE-ID: CWE-122
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 within the do_checksum_math() function in /tcpedit/checksum.c. A remote attacker can trigger a heap-based buffer overflow 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
net-analyzer/tcpreplay

How to mitigate CVE-2022-27418

Install update from vendor's website.

Tcpreplay - update to 4.4.1
net-analyzer/tcpreplay - update to 4.4.2

External References

Related Security Bulletins