CVE-2021-40394 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...
CriticalCVSS 9.8
EPSS 3.0%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
10 packages: 8 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/gerbv(Debian 12) | < 2.8.1-1 | 2.8.1-1 | Fixed |
| debian/gerbv(Debian 13) | < 2.8.1-1 | 2.8.1-1 | Fixed |
| ubuntu/gerbv(Ubuntu 20.04) | < 2.7.0-1ubuntu0.1; = 2.7.0-1 | 2.7.0-1ubuntu0.1 | Fixed |
| ubuntu/gerbv(Ubuntu 22.04) | < 2.8.2-1ubuntu0.1~esm1 | 2.8.2-1ubuntu0.1~esm1 | Fixed |
| ubuntu/gerbv(Ubuntu Pro 14.04) | < 2.6.0-1ubuntu0.14.04.1~esm1; = 2.6.0-1 | 2.6.0-1ubuntu0.14.04.1~esm1 | Fixed |
| ubuntu/gerbv(Ubuntu Pro 16.04) | < 2.6.0-1ubuntu0.16.04.1~esm1; = 2.6.0-1 | 2.6.0-1ubuntu0.16.04.1~esm1 | Fixed |
| ubuntu/gerbv(Ubuntu Pro 18.04) | < 2.6.1-3ubuntu0.1~esm1; = 2.6.1-2; = 2.6.1-3 | 2.6.1-3ubuntu0.1~esm1 | Fixed |
| ubuntu/gerbv(Ubuntu Pro 22.04) | < 2.8.2-1ubuntu0.1~esm1; = 2.7.0-2; = 2.7.1-1; = 2.8.0-1 +2 more | 2.8.2-1ubuntu0.1~esm1 | Fixed |
| debian linux | = 9.0; = 10.0; = 11.0 | No fix listed | Versions listed |
| gerbv project gerbv | = 2.7.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/gerbv(Debian:12) | < 2.8.1-1 | 2.8.1-1 |
| debian/gerbv(Debian:13) | < 2.8.1-1 | 2.8.1-1 |
| ubuntu/gerbv(Ubuntu:22.04) | < 2.8.2-1ubuntu0.1~esm1 | 2.8.2-1ubuntu0.1~esm1 |
| gerbv project gerbv | = 2.7.0 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| ubuntu/gerbv(Ubuntu:Pro:14.04) | < 2.6.0-1ubuntu0.14.04.1~esm1 | 2.6.0-1ubuntu0.14.04.1~esm1 |
| ubuntu/gerbv(Ubuntu:Pro:14.04) | = 2.6.0-1 | No fix listed |
| ubuntu/gerbv(Ubuntu:Pro:16.04) | < 2.6.0-1ubuntu0.16.04.1~esm1 | 2.6.0-1ubuntu0.16.04.1~esm1 |
| ubuntu/gerbv(Ubuntu:Pro:16.04) | = 2.6.0-1 | No fix listed |
| ubuntu/gerbv(Ubuntu:Pro:18.04) | < 2.6.1-3ubuntu0.1~esm1 | 2.6.1-3ubuntu0.1~esm1 |
| ubuntu/gerbv(Ubuntu:Pro:18.04) | = 2.6.1-2 | No fix listed |
| ubuntu/gerbv(Ubuntu:Pro:18.04) | = 2.6.1-3 | No fix listed |
| ubuntu/gerbv(Ubuntu:20.04) | < 2.7.0-1ubuntu0.1 | 2.7.0-1ubuntu0.1 |
| ubuntu/gerbv(Ubuntu:20.04) | = 2.7.0-1 | No fix listed |
| ubuntu/gerbv(Ubuntu:Pro:22.04) | < 2.8.2-1ubuntu0.1~esm1 | 2.8.2-1ubuntu0.1~esm1 |
| ubuntu/gerbv(Ubuntu:Pro:22.04) | = 2.7.0-2 | No fix listed |
| ubuntu/gerbv(Ubuntu:Pro:22.04) | = 2.7.1-1 | No fix listed |
| ubuntu/gerbv(Ubuntu:Pro:22.04) | = 2.8.0-1 | No fix listed |
| ubuntu/gerbv(Ubuntu:Pro:22.04) | = 2.8.1-1 | No fix listed |
| ubuntu/gerbv(Ubuntu:Pro:22.04) | = 2.8.2-1 | No fix listed |
References
- Debian Security Tracker CVE-2021-40394 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6209-1 vendor-advisory
- www.cve.org issue-tracking
- [debian-lts-announce] 20230930 [SECURITY] [DLA 3593-1] gerbv security update mailing-list
- talosintelligence.com exploit issue-tracking third-party-advisory
- DSA-5306 third-party-advisory vendor-advisory
- talosintelligence.com issue-tracking