CVE-2021-40400 Information disclosure in Gerbv

Critical 9.3 Published Updated

An out-of-bounds read in Gerbv allows attackers to disclose information via a specially crafted Gerber file.

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-40400?

CVE-2021-40400 is a critical vulnerability in Gerbv, published on 14 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An out-of-bounds read vulnerability exists in the RS-274X aperture macro outline primitive functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and the forked version of Gerbv (commit d7f42a9a). A specially-crafted Gerber file can lead to information disclosure. An attacker can provide a malicious file to trigger this vulnerability.

Weakness: CWE-125, CWE-119

Which versions are affected by CVE-2021-40400?

It affects 1 product.

Products include Gerbv Project Gerbv.

How do I fix CVE-2021-40400?

Apply the vendor's patch.

Is CVE-2021-40400 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-40400 exists.

Sources

Also known as DEBIAN-CVE-2021-40400, GHSA-6c2w-p226-q9q8, UBUNTU-CVE-2021-40400.

Is CVE-2021-40400 in your software?

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

Check your SBOMs for free