CVE-2021-3530 Denial of service in binutils

High 7.5 Published Updated

A crafted symbol in GNU libiberty causes stack exhaustion and crashes, leading to denial of service for applications using the library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-3530?

CVE-2021-3530 is a high-severity denial of service vulnerability in Gnu Binutils, published on 2 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was discovered in GNU libiberty within demangle_path() in rust-demangle.c, as distributed in GNU Binutils version 2.36. A crafted symbol can cause stack memory to be exhausted leading to a crash.

Weakness: CWE-674

Which versions are affected by CVE-2021-3530?

It affects 2 products.

Products include Gnu Binutils, Netapp Ontap Select Deploy Administration Utility.

How do I fix CVE-2021-3530?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-3530 being exploited?

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

All Gnu Binutils vulnerabilities

Sources

Also known as CVE-2021-3648, DEBIAN-CVE-2021-3530, GHSA-54mp-4694-9j92, UBUNTU-CVE-2021-3530.

Is CVE-2021-3530 in your software?

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

Check your SBOMs for free