CVE-2021-29457

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-29457
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29457.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-29457
Aliases
  • GHSA-v74w-h496-cgqm
Related
Published
2021-04-19T19:15:17Z
Modified
2024-09-18T03:27:14.936144Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / exiv2

Package

Name
exiv2
Purl
pkg:deb/debian/exiv2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.27.3-3+deb11u1

Affected versions

0.*

0.27.3-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / exiv2

Package

Name
exiv2
Purl
pkg:deb/debian/exiv2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.27.3-3.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / exiv2

Package

Name
exiv2
Purl
pkg:deb/debian/exiv2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.27.3-3.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}