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
Published
2021-01-06T02:15:12.967Z
Modified
2026-07-09T10:52:21.469199Z
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
Database specific
Show details
{
    "cpe": "cpe:2.3:a:kamadak-exif_project:kamadak-exif:0.5.2:*:*:*:*:rust:*:*",
    "extracted_events": [
        {
            "introduced": "0.5.2"
        },
        {
            "last_affected": "0.5.2"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.5.2

Database specific

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