CVE-2024-31951: n/a
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).
AI Analysis
Technical Summary
CVE-2024-31951 is a buffer overflow vulnerability identified in the Opaque LSA Extended Link parser component of FRRouting (FRR) software, a widely used open-source routing suite supporting OSPF and other protocols. The vulnerability exists in the ospf_te_parse_ext_link function, which processes OSPF Traffic Engineering (TE) Link State Advertisements (LSAs). Specifically, when parsing Segment Routing Adjacency Segment Identifier (SID) sub-Type-Length-Value (subTLV) fields within these LSAs, the code fails to properly validate the lengths of these subTLVs. This lack of validation can lead to a buffer overflow condition. The overflow can cause the FRR daemon to crash, resulting in a denial of service (DoS) condition affecting routing availability. The vulnerability does not allow for code execution or data manipulation, as it impacts only availability. Exploitation requires an attacker to send specially crafted OSPF LSA packets to the vulnerable FRR instance, which implies network-level access but no authentication or user interaction is needed. The CVSS v3.1 base score is 6.5, indicating a medium severity level, with attack vector being adjacent network (AV:A), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and impact limited to availability (A:H). No known public exploits or active exploitation have been reported to date. The vulnerability is tracked under CWE-120 (Classic Buffer Overflow). No official patches are linked yet, so users should monitor FRRouting advisories for updates.
Potential Impact
The primary impact of CVE-2024-31951 is a denial of service condition caused by the crash of the FRRouting daemon when processing malicious OSPF LSA packets. This can disrupt network routing stability and availability, potentially causing network outages or degraded performance in environments relying on FRR for OSPF routing. Since FRR is commonly deployed in ISPs, data centers, and enterprise networks for dynamic routing, the disruption could affect critical network infrastructure. The vulnerability does not compromise confidentiality or integrity, so data leakage or unauthorized modification is not a concern. However, the loss of routing availability can have cascading effects on network operations, service delivery, and business continuity. Attackers with network adjacency can exploit this vulnerability without authentication, increasing the risk in multi-tenant or shared network environments. Although no exploits are known in the wild, the medium severity score and ease of triggering a crash warrant timely mitigation to prevent potential denial of service attacks.
Mitigation Recommendations
To mitigate CVE-2024-31951, organizations should: 1) Monitor FRRouting project communications and promptly apply official patches or updates once released addressing this buffer overflow. 2) Implement network segmentation and access controls to restrict which devices can send OSPF LSA packets to FRR instances, limiting exposure to untrusted or potentially malicious sources. 3) Employ OSPF authentication mechanisms (e.g., cryptographic authentication) to reduce the risk of unauthorized OSPF packet injection, even though the vulnerability itself does not require authentication. 4) Use network intrusion detection or prevention systems (IDS/IPS) capable of detecting anomalous or malformed OSPF packets to block suspicious traffic. 5) Regularly audit and monitor FRR daemon logs for crashes or unusual OSPF packet processing behavior to detect exploitation attempts early. 6) Consider deploying redundant routing paths and failover mechanisms to maintain network availability if an FRR instance becomes unavailable due to this vulnerability. These targeted measures go beyond generic advice by focusing on controlling OSPF packet sources and monitoring FRR stability.
Affected Countries
United States, Germany, France, Japan, South Korea, United Kingdom, India, Brazil, Canada, Australia
CVE-2024-31951: n/a
Description
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).
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-31951 is a buffer overflow vulnerability identified in the Opaque LSA Extended Link parser component of FRRouting (FRR) software, a widely used open-source routing suite supporting OSPF and other protocols. The vulnerability exists in the ospf_te_parse_ext_link function, which processes OSPF Traffic Engineering (TE) Link State Advertisements (LSAs). Specifically, when parsing Segment Routing Adjacency Segment Identifier (SID) sub-Type-Length-Value (subTLV) fields within these LSAs, the code fails to properly validate the lengths of these subTLVs. This lack of validation can lead to a buffer overflow condition. The overflow can cause the FRR daemon to crash, resulting in a denial of service (DoS) condition affecting routing availability. The vulnerability does not allow for code execution or data manipulation, as it impacts only availability. Exploitation requires an attacker to send specially crafted OSPF LSA packets to the vulnerable FRR instance, which implies network-level access but no authentication or user interaction is needed. The CVSS v3.1 base score is 6.5, indicating a medium severity level, with attack vector being adjacent network (AV:A), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and impact limited to availability (A:H). No known public exploits or active exploitation have been reported to date. The vulnerability is tracked under CWE-120 (Classic Buffer Overflow). No official patches are linked yet, so users should monitor FRRouting advisories for updates.
Potential Impact
The primary impact of CVE-2024-31951 is a denial of service condition caused by the crash of the FRRouting daemon when processing malicious OSPF LSA packets. This can disrupt network routing stability and availability, potentially causing network outages or degraded performance in environments relying on FRR for OSPF routing. Since FRR is commonly deployed in ISPs, data centers, and enterprise networks for dynamic routing, the disruption could affect critical network infrastructure. The vulnerability does not compromise confidentiality or integrity, so data leakage or unauthorized modification is not a concern. However, the loss of routing availability can have cascading effects on network operations, service delivery, and business continuity. Attackers with network adjacency can exploit this vulnerability without authentication, increasing the risk in multi-tenant or shared network environments. Although no exploits are known in the wild, the medium severity score and ease of triggering a crash warrant timely mitigation to prevent potential denial of service attacks.
Mitigation Recommendations
To mitigate CVE-2024-31951, organizations should: 1) Monitor FRRouting project communications and promptly apply official patches or updates once released addressing this buffer overflow. 2) Implement network segmentation and access controls to restrict which devices can send OSPF LSA packets to FRR instances, limiting exposure to untrusted or potentially malicious sources. 3) Employ OSPF authentication mechanisms (e.g., cryptographic authentication) to reduce the risk of unauthorized OSPF packet injection, even though the vulnerability itself does not require authentication. 4) Use network intrusion detection or prevention systems (IDS/IPS) capable of detecting anomalous or malformed OSPF packets to block suspicious traffic. 5) Regularly audit and monitor FRR daemon logs for crashes or unusual OSPF packet processing behavior to detect exploitation attempts early. 6) Consider deploying redundant routing paths and failover mechanisms to maintain network availability if an FRR instance becomes unavailable due to this vulnerability. These targeted measures go beyond generic advice by focusing on controlling OSPF packet sources and monitoring FRR stability.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- mitre
- Date Reserved
- 2024-04-07T00:00:00.000Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6dd9b7ef31ef0b58f87b
Added to database: 2/25/2026, 9:47:05 PM
Last enriched: 2/26/2026, 4:16:37 PM
Last updated: 4/11/2026, 9:57:27 PM
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.