SecurityContext

CVE-2021-32617: Exiv2 - Denial of Service

  • Cve: CVE-2021-32617
  • Name: Exiv2 - Denial of Service
  • Description: 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`.
  • Impact: Attackers can cause denial of service by exploiting the inefficient algorithm during metadata writing, potentially crashing the application or system.
  • Remediation: Update to version 0.27.4 or later.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirement type: user_interaction
  • Requirements: Victim must run Exiv2 on a crafted image file with specific command-line arguments
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.01174
  • Epss percentile: 0.68155
  • Assignee: [email protected]
  • Published at: 2021-05-17T18:15:08Z
  • Age in days: 2017
  • Modified at: 2026-06-17T03:53:16Z
  • Patch available: yes
  • References total: 7
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-32617
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-400Uncontrolled Resource Consumption

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/Exiv2/exiv2/pull/1657Patch, Third Party Advisory
https://github.com/Exiv2/exiv2/security/advisories/GHSA-w8mv-g8qq-36mjPatch, Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5I3RRZUGSBIUYZ5TIHLN55PKMAWCSJ5G/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M2BPQNJKTRIDINTVJ22QMMTIZEPHVKXK/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RQAKFIQHW2AS3AGSJM42ABOA6CWIJBGM/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TZ5SGWHK64TB7ADRSVBGHEPDFN5CSOO3/
https://security.gentoo.org/glsa/202312-06

Products

ProductAffectedPlatform boundSourcesUrl
exiv2:exiv2< 0.27.4nonvd/v1/products/exiv2/exiv2
fedoraproject:fedora= 34, = 33nonvd/v1/products/fedoraproject/fedora

Projects

RepositoryLink kindsIndexedUrl
Exiv2/exiv2pull, security_advisoryyes/v1/repositories/Exiv2/exiv2

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exposed hosts: 49161
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports