6.8 Medium
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:M/Au:N/C:P/I:P/A:P
7.8 High
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
6.7 Medium
AI Score
Confidence
High
0.002 Low
EPSS
Percentile
59.2%
Issue Overview:
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.3 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, 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. (CVE-2021-29463)
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. (CVE-2021-29464)
Affected Packages:
exiv2
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update exiv2 to update your system.
New Packages:
aarch64:
exiv2-0.27.0-4.amzn2.0.2.aarch64
exiv2-devel-0.27.0-4.amzn2.0.2.aarch64
exiv2-libs-0.27.0-4.amzn2.0.2.aarch64
exiv2-debuginfo-0.27.0-4.amzn2.0.2.aarch64
i686:
exiv2-0.27.0-4.amzn2.0.2.i686
exiv2-devel-0.27.0-4.amzn2.0.2.i686
exiv2-libs-0.27.0-4.amzn2.0.2.i686
exiv2-debuginfo-0.27.0-4.amzn2.0.2.i686
noarch:
exiv2-doc-0.27.0-4.amzn2.0.2.noarch
src:
exiv2-0.27.0-4.amzn2.0.2.src
x86_64:
exiv2-0.27.0-4.amzn2.0.2.x86_64
exiv2-devel-0.27.0-4.amzn2.0.2.x86_64
exiv2-libs-0.27.0-4.amzn2.0.2.x86_64
exiv2-debuginfo-0.27.0-4.amzn2.0.2.x86_64
Red Hat: CVE-2021-29463, CVE-2021-29464
Mitre: CVE-2021-29463, CVE-2021-29464
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Amazon Linux | 2 | aarch64 | exiv2 | < 0.27.0-4.amzn2.0.2 | exiv2-0.27.0-4.amzn2.0.2.aarch64.rpm |
Amazon Linux | 2 | aarch64 | exiv2-devel | < 0.27.0-4.amzn2.0.2 | exiv2-devel-0.27.0-4.amzn2.0.2.aarch64.rpm |
Amazon Linux | 2 | aarch64 | exiv2-libs | < 0.27.0-4.amzn2.0.2 | exiv2-libs-0.27.0-4.amzn2.0.2.aarch64.rpm |
Amazon Linux | 2 | aarch64 | exiv2-debuginfo | < 0.27.0-4.amzn2.0.2 | exiv2-debuginfo-0.27.0-4.amzn2.0.2.aarch64.rpm |
Amazon Linux | 2 | i686 | exiv2 | < 0.27.0-4.amzn2.0.2 | exiv2-0.27.0-4.amzn2.0.2.i686.rpm |
Amazon Linux | 2 | i686 | exiv2-devel | < 0.27.0-4.amzn2.0.2 | exiv2-devel-0.27.0-4.amzn2.0.2.i686.rpm |
Amazon Linux | 2 | i686 | exiv2-libs | < 0.27.0-4.amzn2.0.2 | exiv2-libs-0.27.0-4.amzn2.0.2.i686.rpm |
Amazon Linux | 2 | i686 | exiv2-debuginfo | < 0.27.0-4.amzn2.0.2 | exiv2-debuginfo-0.27.0-4.amzn2.0.2.i686.rpm |
Amazon Linux | 2 | noarch | exiv2-doc | < 0.27.0-4.amzn2.0.2 | exiv2-doc-0.27.0-4.amzn2.0.2.noarch.rpm |
Amazon Linux | 2 | x86_64 | exiv2 | < 0.27.0-4.amzn2.0.2 | exiv2-0.27.0-4.amzn2.0.2.x86_64.rpm |
6.8 Medium
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:M/Au:N/C:P/I:P/A:P
7.8 High
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
6.7 Medium
AI Score
Confidence
High
0.002 Low
EPSS
Percentile
59.2%