CVE-2022-40302: Medium severity Frrouting FRRouting vulnerability
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/frrto a version that resolves this vulnerability.Fixed in 8.4.4-1.1~deb12u2Fixed in 10.3-3+deb13u1Fixed in 10.7.1-6 - Upgrade
Upgrade
debian/frrto a version that resolves this vulnerability.Fixed in 8.4.1-1
Event History
Frequently Asked Questions
What is CVE-2022-40302?
CVE-2022-40302 is a vulnerability discovered in bgpd in FRRouting (FRR) through 8.4, which allows attackers to cause a denial of service due to an assertion failure and daemon restart, or an out-of-bounds read, by crafting a BGP OPEN message with an option of type 0xff (Extended Length).
How does CVE-2022-40302 affect FRRouting?
CVE-2022-40302 affects FRRouting versions up to and including 8.4.
What is the severity of CVE-2022-40302?
The severity of CVE-2022-40302 is medium, with a CVSSv3 score of 6.5.
How can I fix CVE-2022-40302?
To fix CVE-2022-40302, it is recommended to upgrade FRRouting to version 8.4.2 or later.
Are there any references for CVE-2022-40302?
Yes, you can find references for CVE-2022-40302 at the following links: [GitHub Releases](https://github.com/FRRouting/frr/releases), [GitHub Issue #13427](https://github.com/FRRouting/frr/issues/13427), [GitHub Issue #13480](https://github.com/FRRouting/frr/issues/13480).