CVE-2021-40401

NameCVE-2021-40401
DescriptionA use-after-free vulnerability exists in the RS-274X aperture definition tokenization functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and Gerbv forked 2.7.1. 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 code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gerbv (PTS)stretch2.6.1-2vulnerable
stretch (security)2.6.1-2+deb9u1vulnerable
buster2.7.0-1+deb10u1vulnerable
bullseye2.7.0-2+deb11u1vulnerable
bookworm, sid2.8.2-1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gerbvsource(unstable)(unfixed)

Notes

https://talosintelligence.com/vulnerability_reports/TALOS-2021-1415
https://github.com/gerbv/gerbv/commit/68ee18945bcf68ff964c42f12af79c5c0e2f4069
https://github.com/gerbv/gerbv/issues/81

Search for package or bug name: Reporting problems