CVE-2021-21235
Summary
| CVE | CVE-2021-21235 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-01-06 02:15:00 UTC |
| Updated | 2022-10-19 13:00:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-835
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Kamadak-exif Project | Kamadak-exif | 0.5.2 | All | All | All |
| Application | Kamadak-exif Project | Kamadak-exif | 0.5.2 | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| crates.io: Rust Package Registry | MISC | crates.io | Product, Third Party Advisory |
| Infinite loop in parsing PNG files · Advisory · kamadak/exif-rs · GitHub | CONFIRM | github.com | Third Party Advisory |
| Fix an infinite loop in reading PNG files. · kamadak/exif-rs@f21df24 · GitHub | MISC | github.com | Patch, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.