Logo
vulnerabilityCVE-2022-40318
Name
CVE-2022-40318
Source
NVD ( link)Debian ( link)
Description
An issue was discovered in bgpd in FRRouting (FRR) through 8.4. By crafting a BGP OPEN message with an option of type 0xff (Extended Length from RFC 9072), attackers may cause a denial of service (assertion failure and daemon restart, or out-of-bounds read). This is possible because of inconsistent boundary checks that do not account for reading 3 bytes (instead of 2) in this 0xff case. NOTE: this behavior occurs in bgp_open_option_parse in the bgp_open.c file, a different location (with a different attack vector) relative to CVE-2022-40302.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
frr
Patched

Vulnerability Rating#


6.5
CVSSv31

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
10.3
Not Affected
buildroot
master
10.5.4
Not Affected
openwrt
master
10.6.1-r1
Not Affected
yocto
master
10.6.1
Not Affected
yocto
scarthgap
9.1.3
Not Affected

Resolved with patches#


frr (yocto:kirkstone)

#
Title
Author
Resolve
1
bgpd: Ensure FRR has enough data to read 2 bytes in
Donald Sharp <sharpd@nvidia.com>
CVE-2022-40318