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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2750-1, DSA-4958-1
Debian Bugs991706

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
exiv2 (PTS)bullseye0.27.3-3+deb11u2fixed
bullseye (security)0.27.3-3+deb11u1fixed
bookworm0.27.6-1fixed
sid, trixie0.28.3+dfsg-2fixed

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)0.27.3-3.1991706

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
This is a duplicate of CVE-2021-29458, but mitre finds the evidence unconvincing.

Search for package or bug name: Reporting problems