cve.bz

CVE-2024-31951 frrouting frrouting: Classic Buffer Overflow

6.5 mediumEPSS 0.5%Fix available

Medium (6.5) in frrouting frrouting. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
In the Opaque LSA Extended Link parser in FRRouting (FRR) through 9.1, there can be a buffer overflow and daemon crash in ospf_te_parse_ext_link for OSPF LSA packets during an attempt to read Segment Routing Adjacency SID subTLVs (lengths are not validated).

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-07-31. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-31951 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-31951?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-31951?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-31951 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
frrouting:frroutingthrough 9.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12frr8.4.4-1.1~deb12u2DEBIAN-CVE-2024-31951 DSA-6322-1
Debian13frr10.3-3+deb13u1DEBIAN-CVE-2024-31951 DSA-6322-1
Debian14frr10.0.1-0.1DEBIAN-CVE-2024-31951
Ubuntu22.04:LTSfrr8.1-1ubuntu1.10UBUNTU-CVE-2024-31951 USN-6794-1
Ubuntu24.04:LTSfrr8.4.4-1.1ubuntu6.1UBUNTU-CVE-2024-31951 USN-6794-1
SUSELinux Enterprise Module for Server Applications 15 SP5, Linux Enterprise Module for Server Applications 15 SP6frr8.4-150500.4.23.1SUSE-SU-2024:1971-1
SUSELinux Enterprise Module for Server Applications 15 SP5, Linux Enterprise Module for Server Applications 15 SP6frr8.5.6-150500.4.30.1SUSE-SU-2024:4090-1
openSUSELeap 15.5, Leap 15.6frr8.4-150500.4.23.1SUSE-SU-2024:1971-1
openSUSELeap 15.5, Leap 15.6frr8.5.6-150500.4.30.1SUSE-SU-2024:4090-1
openSUSETumbleweedfrr8.4-12.1openSUSE-SU-2024:14038-1
Azure Linux2frr8.5.5-1AZL-39815

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The vulnerability in the Opaque LSA Extended Link parser in FRRouting (FRR), which allows for a buffer overflow and potential daemon crash when processing OSPF LSA packets with improperly validated Segment Routing Adjacency SID subTLVs, is classified as a moderate severity issue. While the vulnerability can lead to service disruption due to daemon crashes, it requires specific conditions to be met for exploitation. An attacker would need to craft OSPF LSA packets with malicious Segment Routing Adjacency SID subTLVs and successfully send them to the vulnerable FRRouting instance. This requires knowledge of the network topology and access to send OSPF packets to the targeted router. Additionally, exploitation may not result in arbitrary code execution, limiting the potential impact.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10frrNot affected
Red Hat Enterprise Linux 8frrWill not fix
Red Hat Enterprise Linux 9frrWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-31951.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON