Name | CVE-2021-3482 |
Description | A flaw was found in Exiv2 in versions before and including 0.27.4-RC1. Improper input validation of the rawData.size property in Jp2Image::readMetadata() in jp2image.cpp can lead to a heap-based buffer overflow via a crafted JPG image containing malicious EXIF data. |
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 |
Debian Bugs | 986888 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
exiv2 (PTS) | bullseye | 0.27.3-3+deb11u2 | fixed |
| bullseye (security) | 0.27.3-3+deb11u1 | vulnerable |
| bookworm | 0.27.6-1 | fixed |
| trixie, sid | 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/1522
https://github.com/Exiv2/exiv2/commit/22ea582c6b74ada30bec3a6b15de3c3e52f2b4da
https://github.com/Exiv2/exiv2/commit/cac151ec052d44da3dc779e9e4028e581acb128a