Out-of-bounds read in Tcpreplay - CVE-2022-27941

 

Out-of-bounds read in Tcpreplay - CVE-2022-27941

Published: October 18, 2022


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

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to heap-based buffer over-read within the get_l2len_protocol() function in common/get.c in tcprewrite. A remote attacker can perform a denial of service attack.


Affected software

Tcpreplay
Gentoo Linux
Fedora
net-analyzer/tcpreplay
tcpreplay

How to mitigate CVE-2022-27941

Install update from vendor's website.

Tcpreplay - update to 4.4.2
net-analyzer/tcpreplay - update to 4.4.2
tcpreplay - addressed in versions 4.4.2-1.el7, 4.4.2-1.el8, 4.4.2-1.el9, 4.4.2-1.fc35, 4.4.2-1.fc36, 4.4.2-1.fc37

External References

Related Security Bulletins