Skip to content
Fencer Intel
medium 6.5

CVE-2022-40302 json

An issue was discovered in bgpd in FRRouting (FRR) through 8.4.

published 3y ago modified 4mo ago also EUVD-2022-43599

cvss
6.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.0%
EPSS 2.0% chance of exploitation in 30 days, percentile 80%
public exploits
0
none known

Summary

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.

Patch / fix

  • frr Debian 14, Debian 13, Debian 12 8.4.1-1

debian advisories DEBIAN-CVE-2022-40302

  • frr RHEL 9 8.3.1-11.el9_3
  • frr-selinux RHEL 9 8.3.1-11.el9_3

red hat advisories RHSA-2023:6434

  • frr AlmaLinux 9 8.3.1-11.el9_3.alma.1
  • frr-selinux AlmaLinux 9 8.3.1-11.el9_3.alma.1

almalinux advisories ALSA-2023:6434

Is CVE-2022-40302 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-40302 updated cvss 6.5

frr: denial of service by crafting a BGP OPEN message with an option of type 0xff

  • Red Hat Enterprise Linux AppStream (v. 9) frr 8.3.1-11.el9_3, frr-selinux 8.3.1-11.el9_3
    fixed: vendor fix RHSA-2023:6434
  • Red Hat Enterprise Linux 8 frr, frr-contrib, frr-selinux
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

2.00% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CISA ADP 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.