CVE-2022-40318
mediumpriority · track · 27EPSS 0.020 · 80 %ileDEEURUUSEPSS · scored 2026-10-28
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedfrr-0:8.3.1-11.el9_3.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:6434 - Fixedfrr-0:8.3.1-11.el9_3.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:6434 - Fixedfrr-0:8.3.1-11.el9_3.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:6434 - Fixedfrr-0:8.3.1-11.el9_3.src as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:6434 - Fixedfrr-0:8.3.1-11.el9_3.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:6434 - Fixedfrr-debuginfo-0:8.3.1-11.el9_3.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:6434 - Fixedfrr-debuginfo-0:8.3.1-11.el9_3.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:6434 - Fixedfrr-debuginfo-0:8.3.1-11.el9_3.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:6434 - Fixedfrr-debuginfo-0:8.3.1-11.el9_3.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:6434 - Fixedfrr-debugsource-0:8.3.1-11.el9_3.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:6434 - Fixedfrr-debugsource-0:8.3.1-11.el9_3.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:6434 - Fixedfrr-debugsource-0:8.3.1-11.el9_3.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:6434 - Fixedfrr-debugsource-0:8.3.1-11.el9_3.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:6434 - Fixedfrr-selinux-0:8.3.1-11.el9_3.noarch as a component of Red Hat Enterprise Linux AppStream (v. 9)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:6434
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (24)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- RHSA-2023:6434Red Hat Security Advisory: frr security and bug fix update2023-11-07csaf · redhat_csafUS
An update for frr is now available for Red Hat Enterprise Linux 9. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- WID-SEC-W-2023-1146FRRouting: Mehrere Schwachstellen ermöglichen Denial of ServiceDeutsch2023-05-03csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in FRRouting ausnutzen, um einen Denial of Service Angriff durchzuführen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-40318/cnnvd
- https://github.com/FRRouting/frr/releasescnnvd
- https://lists.debian.org/debian-lts-announce/2023/09/msg00020.htmlcnnvd
- https://vigilance.fr/vulnerability/FRRouting-out-of-bounds-memory-reading-via-BGP-OPEN-Message-Extended-Length-Option-42231cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.5173cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.5390cnnvd
- https://www.debian.org/security/2023/dsa-5495cnnvd
- https://github.com/FRRouting/frr/releasesenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan