CVE-2021-31292

NameCVE-2021-31292
DescriptionAn integer overflow in CrwMap::encode0x1810 of Exiv2 0.27.3 allows attackers to trigger a heap-based buffer overflow and cause a denial of service (DOS) via crafted metadata.
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)
ReferencesDLA-2750-1, DSA-4958-1
NVD severitymedium
Debian Bugs991706

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
exiv2 (PTS)stretch0.25-3.1+deb9u2vulnerable
stretch (security)0.25-3.1+deb9u3fixed
buster0.25-4+deb10u1vulnerable
buster (security)0.25-4+deb10u2fixed
bullseye (security)0.27.3-3+deb11u1fixed
bookworm, sid, bullseye0.27.3-3vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
exiv2sourcestretch0.25-3.1+deb9u3DLA-2750-1
exiv2sourcebuster0.25-4+deb10u2DSA-4958-1
exiv2sourcebullseye0.27.3-3+deb11u1
exiv2source(unstable)(unfixed)991706

Notes

https://github.com/Exiv2/exiv2/issues/1530
https://github.com/Exiv2/exiv2/commit/9b7a19f957af53304655ed1efe32253a1b11a8d0
In older releases affected code is in src/crwimage.cpp

Search for package or bug name: Reporting problems