CVE-2021-3482

NameCVE-2021-3482
DescriptionA 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.
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, ELA-479-1
Debian Bugs986888

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
exiv2 (PTS)jessie, jessie (lts)0.24-4.1+deb8u7fixed
stretch (security)0.25-3.1+deb9u3fixed
stretch (lts), stretch0.25-3.1+deb9u4fixed
buster0.25-4+deb10u2fixed
buster (security)0.25-4+deb10u4fixed
bullseye (security), bullseye0.27.3-3+deb11u1vulnerable
sid, bookworm0.27.5-4fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
exiv2sourcejessie0.24-4.1+deb8u6ELA-479-1
exiv2sourcestretch0.25-3.1+deb9u3DLA-2750-1
exiv2sourcebuster0.25-4+deb10u2DSA-4958-1
exiv2source(unstable)0.27.5-1986888

Notes

[bullseye] - exiv2 <no-dsa> (Minor issue)
https://github.com/Exiv2/exiv2/issues/1522
https://github.com/Exiv2/exiv2/commit/22ea582c6b74ada30bec3a6b15de3c3e52f2b4da
https://github.com/Exiv2/exiv2/commit/cac151ec052d44da3dc779e9e4028e581acb128a
[jessie] - exiv2 <postponed> (Minor issue; can be fixed in next update)

Search for package or bug name: Reporting problems