cve.bz

CVE-2021-32617 Uncontrolled Resource Consumption

5.5 mediumEPSS 1.2%Fix available

Medium (5.5). EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
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`.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-32617 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-32617?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-32617?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-32617 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
exiv2:exiv2before 0.27.4
fedoraproject:fedora33
fedoraproject:fedora34

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14exiv20.27.5-1DEBIAN-CVE-2021-32617
Ubuntu18.04:LTSexiv20.25-3.1ubuntu0.18.04.9UBUNTU-CVE-2021-32617 USN-4964-1
Ubuntu20.04:LTSexiv20.27.2-8ubuntu2.4UBUNTU-CVE-2021-32617 USN-4964-1
UbuntuPro:16.04:LTSexiv20.25-2.1ubuntu16.04.7+esm2UBUNTU-CVE-2021-32617 USN-4964-1
Red Hatenterprise_linux:8::appstreamexiv2, exiv2-libs, exiv2-debuginfo and 2 more0:0.27.4-5.el8RHSA-2021:4173
Red Hatenterprise_linux:8::crbexiv2-doc, exiv2-devel, exiv2-debuginfo and 2 more0:0.27.4-5.el8RHSA-2021:4173
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 18 moreexiv20.26-150000.6.16.1SUSE-SU-2022:3598-1
SUSELinux Enterprise Module for Desktop Applications 15 SP4exiv20.27.5-150400.15.4.1SUSE-SU-2022:3889-1
SUSELinux Enterprise Module for Desktop Applications 15 SP4exiv2-0_260.26-150400.9.16.1SUSE-SU-2022:3889-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5exiv20.23-12.11.1SUSE-SU-2022:3543-1
openSUSELeap 15.3, Leap 15.4exiv20.26-150000.6.16.1SUSE-SU-2022:3598-1
openSUSELeap 15.4exiv20.27.5-150400.15.4.1SUSE-SU-2022:3889-1
openSUSELeap 15.4exiv2-0_260.26-150400.9.16.1SUSE-SU-2022:3889-1
openSUSETumbleweedexiv20.27.5-3.1openSUSE-SU-2024:12381-1
AlmaLinux8exiv2, exiv2-doc, exiv2-libs and 1 more0.27.4-5.el8ALSA-2021:4173
Rocky Linux8exiv20:0.27.4-5.el8RLSA-2021:4173
Alpinev3.13, v3.14, v3.15 and 9 moreexiv20.27.3-r2ALPINE-CVE-2021-32617
Azure Linux2exiv20.27.5-1AZL-7213

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat Product Security has marked the Impact of this flaw as Low because the denial of service caused by this flaw would not necessarily be persistent. Additionally, exploitation relies on parsing of arbitrary image files from untrusted sources, and the operation/command used to trigger it is not common amongst users according to the upstream advisory listed under "References" below.

This flaw is out of support scope for Red Hat Enterprise Linux 6 and 7. To learn more about Red Hat Enterprise Linux support scopes, please see https://access.redhat.com/support/policy/updates/errata

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8exiv2-0:0.27.4-5.el8Fixed 2021-11-09RHSA-2021:4173
Red Hat Enterprise Linux 6exiv2Out of support scope
Red Hat Enterprise Linux 7compat-exiv2-023Out of support scope
Red Hat Enterprise Linux 7compat-exiv2-026Out of support scope
Red Hat Enterprise Linux 7exiv2Out of support scope
Red Hat Enterprise Linux 8compat-exiv2-026Fix deferred
Red Hat Enterprise Linux 9exiv2Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-32617.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON