CVE-2021-40391

NameCVE-2021-40391
DescriptionAn out-of-bounds write vulnerability exists in the drill format T-code tool number functionality of Gerbv 2.7.0, dev (commit b5f1eacd), and the forked version of Gerbv (commit 71493260). A specially-crafted drill 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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2839-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gerbv (PTS)bullseye (security), bullseye2.7.0-2+deb11u2fixed
bookworm2.9.6-1fixed
sid, trixie2.10.0-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gerbvsourcestretch2.6.1-2+deb9u1DLA-2839-1
gerbvsourcebuster2.7.0-1+deb10u1
gerbvsourcebullseye2.7.0-2+deb11u1
gerbvsource(unstable)2.7.1-1

Notes

https://talosintelligence.com/vulnerability_reports/TALOS-2021-1402
https://github.com/gerbv/gerbv/commit/9f83950b772b37b49ee188300e444546e6aab17e
https://github.com/gerbv/gerbv/issues/30

Search for package or bug name: Reporting problems