CVE-2021-40394

NameCVE-2021-40394
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5306-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gerbv (PTS)buster2.7.0-1+deb10u1vulnerable
buster (security)2.7.0-1+deb10u2vulnerable
bullseye2.7.0-2+deb11u1vulnerable
bullseye (security)2.7.0-2+deb11u2fixed
bookworm, sid2.9.6-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gerbvsourcebullseye2.7.0-2+deb11u2DSA-5306-1
gerbvsource(unstable)2.8.1-1

Notes

[buster] - gerbv <no-dsa> (Minor issue)
[stretch] - gerbv <no-dsa> (Minor issue)
https://talosintelligence.com/vulnerability_reports/TALOS-2021-1405
https://github.com/advisories/GHSA-936x-jwpc-5p28
https://github.com/gerbv/gerbv/commit/8d7e005f8783d92de74192af21303619bef7541f (v2.8.1-rc.1)

Search for package or bug name: Reporting problems