CVE-2021-29457
Publication date 19 April 2021
Last updated 24 July 2024
Ubuntu priority
Cvss 3 Severity Score
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
exiv2 | 22.04 LTS jammy |
Fixed 0.27.3-3ubuntu2
|
20.04 LTS focal |
Fixed 0.27.2-8ubuntu2.2
|
|
18.04 LTS bionic |
Fixed 0.25-3.1ubuntu0.18.04.7
|
|
16.04 LTS xenial |
Fixed 0.25-2.1ubuntu16.04.7+esm1
|
|
14.04 LTS trusty | Not in release |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu ProPatch details
Package | Patch details |
---|---|
exiv2 |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.8 · High |
Attack vector | Local |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-4941-1
- Exiv2 vulnerabilities
- 10 May 2021