Vulnerability · Published Dec 22, 2021 · Assigned by talos
CVE-2021-40393
Critical 10.0
In plain English
A critical-severity memory corruption in Gerbv. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.1% (higher than 88% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
An out-of-bounds write vulnerability exists in the RS-274X aperture macro variables handling functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and the forked version of Gerbv (commit 71493260). A specially-crafted gerber file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | gerbv | 2.8.2-1 | DEBIAN-CVE-2021-40393 |
| Debian:13 | gerbv | 2.8.2-1 | DEBIAN-CVE-2021-40393 |
Affected products (as reported)
Weakness: CWE-119 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
References
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1404
- DSA-5306 vendor-advisory
- FEDORA-2023-5f5bea627b vendor-advisory
- [debian-lts-announce] 20230930 [SECURITY] [DLA 3593-1] gerbv security update mailing-list