CVE-2017-8421 Denial of service in n/a

Medium 5.5 Published Updated

A crafted PE file causes memory exhaustion in objdump via a memory leak in the BFD library, leading to denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-8421?

CVE-2017-8421 is a medium-severity denial of service vulnerability in Gnu Binutils, published on 2 May 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

The function coff_set_alignment_hook in coffcode.h in Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, has a memory leak vulnerability which can cause memory exhaustion in objdump via a crafted PE file. Additional validation in dump_relocs_in_section in objdump.c can resolve this.

Weakness: CWE-772

Which versions are affected by CVE-2017-8421?

It affects 1 product.

Products include Gnu Binutils.

How do I fix CVE-2017-8421?

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-2017-8421 being exploited?

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

All Gnu Binutils vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-8421, GHSA-9f3x-v4x9-4g32, UBUNTU-CVE-2017-8421.

Is CVE-2017-8421 in your software?

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

Check your SBOMs for free