CVE-2021-40402 Information disclosure in Gerbv

Critical 9.3 Published Updated

An attacker can trigger an out-of-bounds read in Gerbv by providing a malicious Gerber file, leading to information disclosure.

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

What is CVE-2021-40402?

CVE-2021-40402 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 multiple outline primitives functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.7.1 and 2.8.0. 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-755

Which versions are affected by CVE-2021-40402?

It affects 1 product.

Products include Gerbv Project Gerbv.

How do I fix CVE-2021-40402?

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

Is CVE-2021-40402 being exploited?

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

Sources

Also known as DEBIAN-CVE-2021-40402, GHSA-8x52-mcj6-x4gh, UBUNTU-CVE-2021-40402.

Is CVE-2021-40402 in your software?

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

Check your SBOMs for free