CVE-2021-21235

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:kamadak-exif_project:kamadak-exif:0.5.2:*:*:*:*:rust:*:*

History

No history.

Information

Published : 2021-01-06 02:15

Updated : 2022-10-19 13:00


NVD link : CVE-2021-21235

Mitre link : CVE-2021-21235

CVE.ORG link : CVE-2021-21235


JSON object : View

Products Affected

kamadak-exif_project

  • kamadak-exif
CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')

CWE-400

Uncontrolled Resource Consumption