Out-of-bounds write in Tcpreplay - CVE-2022-37048
Published: October 18, 2022
Vulnerability identifier: #VU68411
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-37048
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a boundary error when processing untrusted input within the get_l2len_protocol() function in common/get.c in tcprewrite. A remote attacker can trigger an out-of-bounds write and execute arbitrary code on the target system.
Affected software
Tcpreplay
Gentoo Linux
Fedora
net-analyzer/tcpreplay
tcpreplay
Gentoo Linux
Fedora
net-analyzer/tcpreplay
tcpreplay
How to mitigate CVE-2022-37048
Install updates 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
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
- https://github.com/appneta/tcpreplay/issues/735
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ECRCFJ6X3IVB7BT4KS6AHQMSL532YXYD/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5B75AFRJUGOYHCFG2ZV2JKSUPA6MSCT5/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JWRZO7BG6DHA5NAC3COB45WFXLYRIERC/
- https://security.gentoo.org/glsa/202210-08