Out-of-bounds read in frr - CVE-2022-40318
Published: May 4, 2023
Vulnerability identifier: #VU75718
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-40318
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 a boundary condition. A remote attacker can use a specially crafted BGP OPEN message with an option of type 0xff, trigger an out-of-bounds read error and cause a denial of service condition on the system.
Affected software
frr
Oracle Linux
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
frr (Red Hat package)
Oracle Linux
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
frr (Red Hat package)
How to mitigate CVE-2022-40318
Install updates from vendor's website.
frr - update to 8.5.1
frr (Red Hat package) - update to 8.3.1-11.el9_3
frr (Red Hat package) - update to 8.3.1-11.el9_3