CVE-2021-40394Out-of-bounds Write in Gerbv

Severity
9.8CRITICALNVD
EPSS
0.6%
top 31.82%
CISA KEV
Not in KEV
Exploit
No known exploits
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

debiandebian/gerbv< gerbv 2.8.1-1 (bookworm)
Debiangerbv_project/gerbv< 2.7.0-2+deb11u2+2
Ubuntugerbv_project/gerbv< 2.7.0-1ubuntu0.1+4
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

3
OSV
Gerbv vulnerabilities2023-07-07
GHSA
GHSA-936x-jwpc-5p28: An out-of-bounds write vulnerability exists in the RS-274X aperture macro variables handling functionality of Gerbv 22021-12-23
OSV
CVE-2021-40394: An out-of-bounds write vulnerability exists in the RS-274X aperture macro variables handling functionality of Gerbv 22021-12-22

📋Vendor Advisories

1
Debian
CVE-2021-40394: gerbv - An out-of-bounds write vulnerability exists in the RS-274X aperture macro variab...2021

🕵️Threat Intelligence

2
Talos
Vulnerability Spotlight: Vulnerabilities in Gerbv could lead to code execution, information disclosure2022-02-24
Talos
Vulnerability Spotlight: Vulnerabilities in Gerbv could lead to code execution, information disclosure2022-02-24
CVE-2021-40394 — Out-of-bounds Write in Debian Gerbv | cvebase