Skip to content
OpenAdvisories
Critical · 10.0 CVE-2021-40394 EUVD-2021-27571GHSA-936x-jwpc-5p28

An out-of-bounds write vulnerability exists in the RS-274X aperture macro variables handling functionality of Gerbv 2.7.0 and dev (commit b…

Published Dec 22, 2021 · Updated Aug 4, 2024 · Assigned by talos

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 products

VendorProductAffectedFixed
— Gerbv Gerbv 2.7.0,Gerbv dev (commit b5f1eacd), Gerbv forked dev (commit 71493260) —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 gerbv 2.8.1-1 —
Debian 12 gerbv 2.8.1-1 —
Debian 11 gerbv 2.7.0-2+deb11u2 DSA-5306-1
Debian 10 gerbv 2.7.0-1+deb10u3 DLA-3593-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS gerbv 2.7.0-1ubuntu0.1 USN-6209-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS gerbv 2.8.2-1ubuntu0.1~esm1 USN-6209-1
Ubuntu Pro 18.04 LTS gerbv 2.6.1-3ubuntu0.1~esm1 USN-6209-1
Ubuntu Pro 16.04 LTS gerbv 2.6.0-1ubuntu0.16.04.1~esm1 USN-6209-1
Ubuntu Pro 14.04 LTS gerbv 2.6.0-1ubuntu0.14.04.1~esm1 USN-6209-1

Advisories 3

References