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

21 Nov 2024, 05:47

Type Values Removed Values Added
CVSS v2 : 4.3
v3 : 6.5
v2 : 4.3
v3 : 5.7
References () https://crates.io/crates/kamadak-exif - Product, Third Party Advisory () https://crates.io/crates/kamadak-exif - Product, Third Party Advisory
References () https://github.com/kamadak/exif-rs/commit/f21df24616ea611c5d5d0e0e2f8042eb74d5ff48 - Patch, Third Party Advisory () https://github.com/kamadak/exif-rs/commit/f21df24616ea611c5d5d0e0e2f8042eb74d5ff48 - Patch, Third Party Advisory
References () https://github.com/kamadak/exif-rs/security/advisories/GHSA-px9g-8hgv-jvg2 - Third Party Advisory () https://github.com/kamadak/exif-rs/security/advisories/GHSA-px9g-8hgv-jvg2 - Third Party Advisory

Information

Published : 2021-01-06 02:15

Updated : 2024-11-21 05:47


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-400

Uncontrolled Resource Consumption

CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')