CVE-2021-21235

Source
https://cve.org/CVERecord?id=CVE-2021-21235
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21235.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-21235
Aliases
Downstream
Related
Published
2021-01-06T02:15:12.967Z
Modified
2026-03-15T14:42:34.265828Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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::readfromcontainer 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::readfromcontainer are not affected.

References

Affected packages

Git / github.com/kamadak/exif-rs

Affected ranges

Type
GIT
Repo
https://github.com/kamadak/exif-rs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.5.2"
        }
    ]
}

Affected versions

0.*
0.1
0.1.1
0.1.2
0.1.3
0.2
0.2.1
0.2.2
0.2.3
0.3
0.3.1
0.4
0.5
0.5.1
0.5.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21235.json"