Description
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.
Published: 2021-01-06
Score: 5.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2022-7148 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.
Github GHSA Github GHSA GHSA-px9g-8hgv-jvg2 kamadak-exif vulnerable to Infinite loop when parsing PNG files
History

No history.

Subscriptions

Kamadak-exif Project Kamadak-exif
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-03T18:09:14.897Z

Reserved: 2020-12-22T00:00:00.000Z

Link: CVE-2021-21235

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-01-06T02:15:12.967

Modified: 2024-11-21T05:47:50.050

Link: CVE-2021-21235

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses