CVE-2024-31951 Memory corruption in n/a

Medium 6.5 Published Updated

A buffer overflow in the FRRouting OSPF LSA parser allows remote attackers to crash the daemon via malformed Segment Routing Adjacency SID subTLVs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-31951?

CVE-2024-31951 is a medium-severity memory corruption vulnerability in n/a, published on 7 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-120

Which versions are affected by CVE-2024-31951?

It affects 1 product.

Products include Frrouting Frrouting.

How do I fix CVE-2024-31951?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-31951 being exploited?

There is no known exploitation of CVE-2024-31951 in the wild and no public exploit code.

Sources

Also known as AZL-39815, DEBIAN-CVE-2024-31951, GHSA-h4c3-x7vv-8q28, UBUNTU-CVE-2024-31951.

Is CVE-2024-31951 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free