Resource Exhaustion The advisory has been revoked - it doesn't affect any version of package rust-kamadak-exif  (opens in a new tab)


Threat Intelligence

EPSS
1.53% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-RUSTKAMADAKEXIF-1056139
  • published6 Jan 2021
  • disclosed6 Jan 2021

Introduced: 6 Jan 2021

CVE-2021-21235  (opens in a new tab)
CWE-400  (opens in a new tab)

Amendment

The Debian security team deemed this advisory irrelevant for Debian:unstable.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-kamadak-exif package and not the rust-kamadak-exif package as distributed by Debian.

kamadak-exif is an exif parsing library written in pure Rust. In kamadak-exif version 0.5.2, there is an infinite loop in parsing crafted PNG files. Specifically, reader::read_from_container can cause an infinite loop when a crafted PNG file is given. This is fixed in version 0.5.3. No workaround is available. Applications that do not pass files with the PNG signature to Reader::read_from_container are not affected.