Name | CVE-2021-31292 |
Description | An 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2750-1, DSA-4958-1, ELA-479-1 |
Debian Bugs | 991706 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
exiv2 (PTS) | jessie, jessie (lts) | 0.24-4.1+deb8u7 | fixed |
| stretch (security) | 0.25-3.1+deb9u3 | fixed |
| stretch (lts), stretch | 0.25-3.1+deb9u4 | fixed |
| buster (security), buster, buster (lts) | 0.25-4+deb10u4 | fixed |
| bullseye | 0.27.3-3+deb11u2 | fixed |
| bullseye (security) | 0.27.3-3+deb11u1 | fixed |
| bookworm | 0.27.6-1 | fixed |
| sid, trixie | 0.28.3+dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
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.