OESA-2021-1204

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1204
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2021-1204.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2021-1204
Upstream
Published
2021-06-07T11:02:56Z
Modified
2025-08-12T05:08:05.835029Z
Summary
exiv2 security update
Details

Exiv2 is a Cross-platform C++ library and a command line utility to manage image metadata. It provides fast and easy read and write access to the Exif, IPTC and XMP metadata and the ICC Profile embedded within digital images in various formats.

Security Fix(es):

Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. A read of uninitialized memory was found in Exiv2 versions v0.27.3 and earlier. Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. The read of uninitialized memory is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to leak a few bytes of stack memory, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.4.(CVE-2021-29623)

Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An inefficient algorithm (quadratic complexity) was found in Exiv2 versions v0.27.3 and earlier. The inefficient algorithm 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, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.4. 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 rm.(CVE-2021-32617)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / exiv2

Package

Name
exiv2
Purl
pkg:rpm/openEuler/exiv2&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.26-27.oe1

Ecosystem specific

{
    "src": [
        "exiv2-0.26-27.oe1.src.rpm"
    ],
    "x86_64": [
        "exiv2-debuginfo-0.26-27.oe1.x86_64.rpm",
        "exiv2-0.26-27.oe1.x86_64.rpm",
        "exiv2-devel-0.26-27.oe1.x86_64.rpm",
        "exiv2-debugsource-0.26-27.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "exiv2-0.26-27.oe1.aarch64.rpm",
        "exiv2-devel-0.26-27.oe1.aarch64.rpm",
        "exiv2-debuginfo-0.26-27.oe1.aarch64.rpm",
        "exiv2-debugsource-0.26-27.oe1.aarch64.rpm"
    ],
    "noarch": [
        "exiv2-help-0.26-27.oe1.noarch.rpm"
    ]
}