Vulnerability · Published Apr 8, 2021 · Assigned by redhat
CVE-2021-3482
Medium 6.5
In plain English
A medium-severity improper input validation in exiv2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.3% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)2.3%top 16.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | exiv2 | 0.27.4-5.el8 | ALSA-2021:4173 |
| AlmaLinux:8 | exiv2-devel | 0.27.4-5.el8 | ALSA-2021:4173 |
| AlmaLinux:8 | exiv2-doc | 0.27.4-5.el8 | ALSA-2021:4173 |
| AlmaLinux:8 | exiv2-libs | 0.27.4-5.el8 | ALSA-2021:4173 |
| Alpine:v3.20 | exiv2 | 0.27.3-r1 | ALPINE-CVE-2021-3482 |
| Alpine:v3.21 | exiv2 | 0.27.3-r1 | ALPINE-CVE-2021-3482 |
| Alpine:v3.22 | exiv2 | 0.27.3-r1 | ALPINE-CVE-2021-3482 |
| Alpine:v3.23 | exiv2 | 0.27.3-r1 | ALPINE-CVE-2021-3482 |
| Alpine:v3.24 | exiv2 | 0.27.3-r1 | ALPINE-CVE-2021-3482 |
| Debian:12 | exiv2 | 0.27.5-1 | DEBIAN-CVE-2021-3482 |
| Debian:13 | exiv2 | 0.27.5-1 | DEBIAN-CVE-2021-3482 |
| Debian:14 | exiv2 | 0.27.5-1 | DEBIAN-CVE-2021-3482 |
| Rocky Linux:8 | exiv2 | 0:0.27.4-5.el8 | RLSA-2021:4173 |
Affected products (as reported)
Weakness: CWE-20
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1946314 x_refsource_MISC
- FEDORA-2021-10d7331a31 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-be94728b95 vendor-advisory, x_refsource_FEDORA
- DSA-4958 vendor-advisory, x_refsource_DEBIAN
- [debian-lts-announce] 20210830 [SECURITY] [DLA 2750-1] exiv2 security update mailing-list, x_refsource_MLIST