CVE-2021-40401

HIGHCVSS 8.6/10EPSS 1.22%

Last modified

CVE-2021-40401 is a high-severity vulnerability rated 8.6/10 on the CVSS scale. A use-after-free vulnerability exists in the RS-274X aperture definition tokenization functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and Gerbv forked 2.7.1. A specially-crafted gerber file can lead to code execution. EPSS estimates a 1.22% chance of exploitation in the next 30 days.

Description

A use-after-free vulnerability exists in the RS-274X aperture definition tokenization functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and Gerbv forked 2.7.1. A specially-crafted gerber file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.

Metrics

CVSS 3.1
8.6/10

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

EPSS Probability
1.22%

64.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
Gerbv ProjectGerbv2.7.0
Gerbv ProjectGerbv2.7.1Forked Dev
FedoraprojectFedora36
DebianDebian Linux11.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-40401?
A use-after-free vulnerability exists in the RS-274X aperture definition tokenization functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and Gerbv forked 2.7.1. A specially-crafted gerber file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.
How severe is CVE-2021-40401?
CVE-2021-40401 has a CVSS score of 8.6/10 (HIGH severity). The EPSS model estimates a 1.22% probability of exploitation in the next 30 days.
How do I fix CVE-2021-40401?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-40401?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST