CVE-2022-40318

frr: denial of service by crafting a BGP OPEN message with an option of type in bgp_open_option_parse in the bgp_open.c 0xff

Published May 3, 2023 CVSS 3.1 · 6.5 Medium EPSS 2.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3573-1 frr security update
Debian DSA Debian DSA DSA-5495-1 frr security update
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 12:14 PM
Reserved
Sep 9, 2022, 12:00 AM
Status
Modified
Published
May 3, 2023, 12:16 PM
Modified
Jun 17, 2026, 5:01 AM
Severity
Moderate
Public date
May 3, 2023, 12:00 AM