CVE-2021-3482

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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Issue Tracking https://bugzilla.redhat.com/show_bug.cgi?id=1946314
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2XQT5F5IINTDYDAFGVGQZ7PMMLG7I5ZZ/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P2A5GMJEXQ5Q76JK6F6VKK5JYCLVFGKN/
Third Party Advisory https://www.debian.org/security/2021/dsa-4958
Mailing List https://lists.debian.org/debian-lts-announce/2021/08/msg00028.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:exiv2:exiv2:*:*:*:*:*:*:*:* exiv2 >= None <= 0.27.3
cpe:2.3:a:exiv2:exiv2:0.27.4:rc1:*:*:*:*:*:* exiv2 == None == 0.27.4

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
exiv2 3.11-main 0.27.2-r3 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
exiv2 3.10-main 0.26-r1 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
exiv2 3.13-community 0.27.3-r2 Natanael Copa <ncopa@alpinelinux.org> fixed