CVE-2022-40318
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
AlmaLinux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | frr-selinux-8.3.1-11.el9_3.alma.1.noarch.rpm |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 8.4.1-1 |
| sid | Fixed | 8.4.1-1 |
| forky | Fixed | 8.4.1-1 |
| bullseye | Fixed | 7.5.1-1.1+deb11u2 |
| bookworm | Fixed | 8.4.1-1 |
Red Hat Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
References
- https://access.redhat.com/errata/RHSA-2023:6434
- https://www.suse.com/security/cve/CVE-2022-40318.html
- https://security-tracker.debian.org/tracker/CVE-2022-40318
- https://bugzilla.redhat.com/2184468
- https://bugzilla.redhat.com/2196088
- https://bugzilla.redhat.com/2196090
- https://bugzilla.redhat.com/2196091
- https://errata.almalinux.org/9/ALSA-2023-6434.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.