CVE-2021-40402

NameCVE-2021-40402
DescriptionAn out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.7.1 and 2.8.0. A specially-crafted Gerber file can lead to information disclosure. An attacker can provide a malicious file to trigger this vulnerability.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gerbv (PTS)jessie2.6.0-1vulnerable
stretch (security), stretch (lts), stretch2.6.1-2+deb9u1vulnerable
buster (security), buster, buster (lts)2.7.0-1+deb10u3vulnerable
bullseye (security), bullseye2.7.0-2+deb11u2vulnerable
bookworm2.9.6-1vulnerable
sid, trixie2.10.0-1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gerbvsourcejessie(unfixed)end-of-life
gerbvsource(unstable)(unfixed)unimportant

Notes

https://github.com/gerbv/gerbv/issues/80
https://talosintelligence.com/vulnerability_reports/TALOS-2021-1416
Crash in GUI tool, no security impact

Search for package or bug name: Reporting problems