cbcvebase.
CVE-2021-29457
published 2021-04-19

CVE-2021-29457: Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A heap buffer overflow was found in…

PriorityP341high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
2.15%
80.1th percentile
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A heap buffer overflow was found in Exiv2 versions v0.27.3 and earlier. The heap overflow is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to gain code execution, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when _writing_ the metadata, which is a less frequently used Exiv2 operation than _reading_ the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as `insert`. The bug is fixed in version v0.27.4.

Affected

16 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debiandebian_linux
debianexiv2< exiv2 0.27.3-3.1 (bookworm)exiv2 0.27.3-3.1 (bookworm)
exiv2exiv2< 0.27.40.27.4
exiv2exiv2>= 0 < 0.27.3-3+deb11u10.27.3-3+deb11u1
exiv2exiv2>= 0 < 0.27.3-3.10.27.3-3.1
exiv2exiv2>= 0 < 0.27.3-3.10.27.3-3.1
exiv2exiv2>= 0 < 0.27.3-3.10.27.3-3.1
exiv2exiv2>= 0 < 0.25-3.1ubuntu0.18.04.70.25-3.1ubuntu0.18.04.7
exiv2exiv2>= 0 < 0.27.2-8ubuntu2.20.27.2-8ubuntu2.2
exiv2exiv2>= 0 < 0.25-2.1ubuntu16.04.7+esm10.25-2.1ubuntu16.04.7+esm1
fedoraprojectfedora
fedoraprojectfedora
msrccbl2_exiv2_0.27.5-1_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.