CVE-2021-40403

NameCVE-2021-40403
DescriptionAn information disclosure vulnerability exists in the pick-and-place rotation parsing functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.8.0. A specially-crafted pick-and-place file can exploit the missing initialization of a structure to leak memory contents. 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-3210-1, DSA-5306-1

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+deb10u3fixed
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
gerbvsourcejessie(unfixed)end-of-life
gerbvsourcestretch(unfixed)end-of-life
gerbvsourcebuster2.7.0-1+deb10u2DLA-3210-1
gerbvsourcebullseye2.7.0-2+deb11u2DSA-5306-1
gerbvsource(unstable)2.9.2-1

Notes

https://talosintelligence.com/vulnerability_reports/TALOS-2021-1417
https://github.com/gerbv/gerbv/issues/82
Fixed by: https://github.com/gerbv/gerbv/commit/c32c6f9c0b5d3b0ecc33de21d8532de6c2df5878 (v2.9.1-rc.1)

Search for package or bug name: Reporting problems