CVE-2021-40393 — Improper Restriction of Operations within the Bounds of a Memory Buffer in Gerbv
Severity
9.8CRITICALNVD
EPSS
0.4%
top 37.23%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedDec 22
Latest updateJul 7
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9
Affected Packages5 packages
▶CVEListV5gerbv_project/gerbvGerbv 2.7.0, Gerbv dev (commit b5f1eacd),Gerbv forked dev (commit 71493260)
Also affects: Debian Linux 10.0, 11.0, 9.0
🔴Vulnerability Details
3GHSA▶
GHSA-w67q-2hr6-7cjf: An out-of-bounds write vulnerability exists in the RS-274X aperture macro variables handling functionality of Gerbv 2↗2021-12-23
OSV▶
CVE-2021-40393: An out-of-bounds write vulnerability exists in the RS-274X aperture macro variables handling functionality of Gerbv 2↗2021-12-22
📋Vendor Advisories
1Debian▶
CVE-2021-40393: gerbv - An out-of-bounds write vulnerability exists in the RS-274X aperture macro variab...↗2021