CVE-2022-40302: Medium severity frrouting bgpd vulnerability

Published May 3, 2023
·
Updated

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

5 affected componentsFixes available
debian/frr<=6.0.2-2+deb10u1
7.5.1-1.1+deb10u17.5.1-1.1+deb11u28.4.4-1.1~deb12u18.4.4-1.1
Frrouting FRRouting<=8.4
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Debian Debian Linux=12.0

Event History

May 3, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
12:16 PM
Description
Data Sourced
via NVD·12:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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).

2

How does CVE-2022-40302 affect FRRouting?

CVE-2022-40302 affects FRRouting versions up to and including 8.4.

3

What is the severity of CVE-2022-40302?

The severity of CVE-2022-40302 is medium, with a CVSSv3 score of 6.5.

4

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.

5

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).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203