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

EcosystemPackageFixed inAdvisory
AlmaLinux:8exiv20.27.4-5.el8ALSA-2021:4173
AlmaLinux:8exiv2-devel0.27.4-5.el8ALSA-2021:4173
AlmaLinux:8exiv2-doc0.27.4-5.el8ALSA-2021:4173
AlmaLinux:8exiv2-libs0.27.4-5.el8ALSA-2021:4173
Alpine:v3.20exiv20.27.3-r1ALPINE-CVE-2021-3482
Alpine:v3.21exiv20.27.3-r1ALPINE-CVE-2021-3482
Alpine:v3.22exiv20.27.3-r1ALPINE-CVE-2021-3482
Alpine:v3.23exiv20.27.3-r1ALPINE-CVE-2021-3482
Alpine:v3.24exiv20.27.3-r1ALPINE-CVE-2021-3482
Debian:12exiv20.27.5-1DEBIAN-CVE-2021-3482
Debian:13exiv20.27.5-1DEBIAN-CVE-2021-3482
Debian:14exiv20.27.5-1DEBIAN-CVE-2021-3482
Rocky Linux:8exiv20:0.27.4-5.el8RLSA-2021:4173

Affected products (as reported)

VendorProductVersions
n/a exiv2 exiv2 0.27.4RC2

Weakness: CWE-20

References