OSV-2021-1127 Heap-use-after-free in zebra_nhg_hash_equal

Not scored Published

A heap-use-after-free in the Zebra daemon's next-hop group hash lookup can cause crashes or potential code execution, affecting network routing infrastructure.

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

What is OSV-2021-1127?

OSV-2021-1127 is an use after free vulnerability in frr, published on 15 Aug 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37164

Crash type: Heap-use-after-free READ 4
Crash state:
zebra_nhg_hash_equal
hash_get
hash_lookup

Which versions are affected by OSV-2021-1127?

1 open source package ship an affected version, including frr.

PackageAffectedFixed in
frr OSS-FuzzAll versionsNone

How do I fix OSV-2021-1127?

No fix has been published for OSV-2021-1127 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is OSV-2021-1127 being exploited?

There is no known exploitation of OSV-2021-1127 in the wild and no public exploit code.

Sources

Is OSV-2021-1127 in your software?

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

Check your SBOMs for free