Name | CVE-2021-40393 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3593-1, DSA-5306-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
gerbv (PTS) | jessie | 2.6.0-1 | vulnerable |
| stretch (security), stretch (lts), stretch | 2.6.1-2+deb9u1 | vulnerable |
| buster (security), buster, buster (lts) | 2.7.0-1+deb10u3 | fixed |
| bullseye (security), bullseye | 2.7.0-2+deb11u2 | fixed |
| bookworm | 2.9.6-1 | fixed |
| sid, trixie | 2.10.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
gerbv | source | jessie | (unfixed) | end-of-life | | |
gerbv | source | buster | 2.7.0-1+deb10u3 | | DLA-3593-1 | |
gerbv | source | bullseye | 2.7.0-2+deb11u2 | | DSA-5306-1 | |
gerbv | source | (unstable) | 2.8.2-1 | | | |
Notes
[stretch] - gerbv <no-dsa> (Minor issue)
https://talosintelligence.com/vulnerability_reports/TALOS-2021-1404
https://github.com/advisories/GHSA-w67q-2hr6-7cjf
https://github.com/gerbv/gerbv/commit/4d12b696aed19fbcc115fe83aa7597b7c42ba8d6 (v2.8.2-rc.1)