VDB
CVE-2021-21235
CVE-2021-21235
PUBLISHED
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.
EPSS 0.44% · 63.4th percentile
Risk Scores
EPSS Score
0.44%
63.4th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:25.10 | rust-kamadak-exif | 0, 0.5.5-1 |
| Ubuntu:22.04:LTS | rust-kamadak-exif | 0.3.1-2, 0 |
| Ubuntu:24.04:LTS | rust-kamadak-exif | 0.5.5-1, 0 |
| Ubuntu:20.04:LTS | rust-kamadak-exif | 0.3.1-2, 0 |
Exploit Intelligence
Timeline
- Jan 4, 2021 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Oct 6, 2022 CVE Updated
- Nov 6, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2021-21235 third-party-advisory
- https://github.com/kamadak/exif-rs/security/advisories/GHSA-px9g-8hgv-jvg2 third-party-advisory
- https://crates.io/crates/kamadak-exif third-party-advisory
- https://github.com/kamadak/exif-rs/commit/f21df24616ea611c5d5d0e0e2f8042eb74d5ff48 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2021-21235 third-party-advisory