CVE-2021-21235CWE-400

Infinite loop in parsing PNG files in

Medium · published January 6, 2021

CVSS v3.1
5.7
EPSS
2%
Percentile
74.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.7 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01534 · 74.6th percentile
Weakness
CWE-400 · Uncontrolled Resource Consumption
Published
2021-01-06T01:15Z
EPSS history
Timeline
  • 06 JAN 01:15Z
    Infinite loop in parsing PNG files in
    cvelistv5