Skip to content
OpenAdvisories
Unscored CVE-2022-40318 EUVD-2022-43609GHSA-9rqq-99cf-35g5

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…

Published May 3, 2023 · Updated Aug 3, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 frr 8.4.1-1 —
Debian 13 frr 8.4.1-1 —
Debian 12 frr 8.4.1-1 —
Debian 10 frr 7.5.1-1.1+deb10u1 DLA-3573-1
ReleasePackageFixed inAdvisory
RHEL 9 frr +1 8.3.1-11.el9_3 RHSA-2023:6434

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 frr +1 8.3.1-11.el9_3.alma.1 ALSA-2023:6434

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 frr +1 8.3.1-11.el9_3 ELSA-2023-6434

Advisories 5

References