CVE-2022-40302
Alma Linux vulnerability analysis and mitigation

Overview

An issue was discovered in bgpd in FRRouting (FRR) through version 8.4. The vulnerability (CVE-2022-40302) involves an out-of-bounds read vulnerability when processing a malformed BGP OPEN message with an option of type 0xff (Extended Length from RFC 9072). This vulnerability was discovered in May 2023 (NVD).

Technical details

The vulnerability occurs due to inconsistent boundary checks that do not account for reading 3 bytes (instead of 2) in the 0xff case when processing BGP OPEN messages. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can lead to a denial of service condition through either an assertion failure and daemon restart, or an out-of-bounds read. This can result in dropping all BGP sessions and routing tables, potentially rendering the peer unresponsive (Hacker News).

Mitigation and workarounds

The vulnerability has been patched in multiple versions of FRRouting. Organizations using affected versions should upgrade to the patched versions. For Debian systems, fixes have been released in version 7.5.1-1.1+deb10u1 for Debian 10, version 7.5.1-1.1+deb11u2 for Debian 11 (bullseye), and version 8.4.4-1.1~deb12u1 for Debian 12 (bookworm) (Debian Security).

Additional resources


SourceThis report was generated using AI

Related Alma Linux vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-24528HIGH7.1
  • KerberosKerberos
  • krb5-pkinit-openssl
NoYesJan 16, 2026
CVE-2025-68973HIGH7
  • NixOSNixOS
  • gnupg2-utils
NoYesDec 28, 2025
CVE-2025-61594LOW2.7
  • RubyRuby
  • ruby-libs
NoYesDec 30, 2025
CVE-2023-54286N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-debug-modules-internal
NoYesDec 30, 2025
CVE-2022-50881N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-whitelists
NoYesDec 30, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management