CVE-2022-40302 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 (ass...
MediumCVSS 6.5
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
7 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/frr(Debian 12) | < 8.4.1-1 | 8.4.1-1 | Fixed |
| debian/frr(Debian 13) | < 8.4.1-1 | 8.4.1-1 | Fixed |
| debian/frr(Debian 14) | < 8.4.1-1 | 8.4.1-1 | Fixed |
| frrouting | <= 8.4 | after 8.4 | Fixed |
| ubuntu/frr(Ubuntu 20.04) | < 7.2.1-1ubuntu0.2; = 6.0.2-2build2; = 7.2-1ubuntu1; = 7.2-1ubuntu2 +2 more | 7.2.1-1ubuntu0.2 | Fixed |
| ubuntu/frr(Ubuntu 22.04) | < 8.1-1ubuntu1.3; = 7.5.1-1.1; = 8.1-1; = 8.1-1ubuntu1 +2 more | 8.1-1ubuntu1.3 | Fixed |
| debian linux | = 10.0; = 11.0; = 12.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| frrouting | <= 8.4 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| debian linux | = 12.0 | No fix listed |
| debian/frr(Debian:12) | < 8.4.1-1 | 8.4.1-1 |
| debian/frr(Debian:14) | < 8.4.1-1 | 8.4.1-1 |
| debian/frr(Debian:13) | < 8.4.1-1 | 8.4.1-1 |
| ubuntu/frr(Ubuntu:20.04) | < 7.2.1-1ubuntu0.2 | 7.2.1-1ubuntu0.2 |
| ubuntu/frr(Ubuntu:20.04) | = 6.0.2-2build2 | No fix listed |
| ubuntu/frr(Ubuntu:20.04) | = 7.2-1ubuntu1 | No fix listed |
| ubuntu/frr(Ubuntu:20.04) | = 7.2-1ubuntu2 | No fix listed |
| ubuntu/frr(Ubuntu:20.04) | = 7.2.1-1 | No fix listed |
| ubuntu/frr(Ubuntu:20.04) | = 7.2.1-1ubuntu0.1 | No fix listed |
| ubuntu/frr(Ubuntu:22.04) | < 8.1-1ubuntu1.3 | 8.1-1ubuntu1.3 |
| ubuntu/frr(Ubuntu:22.04) | = 7.5.1-1.1 | No fix listed |
| ubuntu/frr(Ubuntu:22.04) | = 8.1-1 | No fix listed |
| ubuntu/frr(Ubuntu:22.04) | = 8.1-1ubuntu1 | No fix listed |
| ubuntu/frr(Ubuntu:22.04) | = 8.1-1ubuntu1.1 | No fix listed |
| ubuntu/frr(Ubuntu:22.04) | = 8.1-1ubuntu1.2 | No fix listed |
References
- Debian Security Tracker CVE-2022-40302 vendor-advisory
- github.com third-party-advisory
- DSA-5495 third-party-advisory vendor-advisory
- [debian-lts-announce] 20230919 [SECURITY] [DLA 3573-1] frr security update mailing-list third-party-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.cve.org issue-tracking