Vulnerability · Published May 3, 2023 · Assigned by mitre

CVE-2022-40302

Medium 6.5

In plain English

A medium-severity out-of-bounds read in the frr package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)2.0%top 19.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9frr8.3.1-11.el9_3.alma.1ALSA-2023:6434
AlmaLinux:9frr-selinux8.3.1-11.el9_3.alma.1ALSA-2023:6434
Debian:12frr8.4.1-1DEBIAN-CVE-2022-40302
Debian:13frr8.4.1-1DEBIAN-CVE-2022-40302
Debian:14frr8.4.1-1DEBIAN-CVE-2022-40302
Ubuntu:22.04:LTSfrr8.1-1ubuntu1.3UBUNTU-CVE-2022-40302

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References