{"id":"EUVD-2022-7148","enisaUuid":"6e9d91c4-36f3-31f7-8ce1-6c300e8c691c","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.","datePublished":"Jan 6, 2021, 1:15:14 AM","dateUpdated":"Aug 3, 2024, 6:09:14 PM","baseScore":5.7,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","references":"https://github.com/kamadak/exif-rs/security/advisories/GHSA-px9g-8hgv-jvg2\nhttps://crates.io/crates/kamadak-exif\nhttps://github.com/kamadak/exif-rs/commit/f21df24616ea611c5d5d0e0e2f8042eb74d5ff48\n","aliases":"CVE-2021-21235\nGHSA-px9g-8hgv-jvg2\n","assigner":"GitHub_M","epss":1.53,"enisaIdProduct":[{"id":"a17ab221-0250-351a-bccb-452c5116a0b6","product":{"name":"exif-rs","vendor":{"name":"kamadak"}},"product_version":"\u003d 0.5.2"}],"enisaIdVendor":[{"id":"704e56db-e185-3084-a23f-100e4f6fc9e9","vendor":{"name":"kamadak"}}],"enisaIdVulnerability":[{"id":"914a744a-33ef-31f9-a920-909fe3517977","vulnerability":{"id":"GHSA-px9g-8hgv-jvg2","description":"kamadak-exif vulnerable to Infinite loop when parsing PNG files","datePublished":"Oct 6, 2022, 7:53:39 PM","dateUpdated":"Oct 6, 2022, 7:53:39 PM","baseScore":null,"references":"https://github.com/kamadak/exif-rs/security/advisories/GHSA-px9g-8hgv-jvg2\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-21235\nhttps://github.com/kamadak/exif-rs/commit/1b05eab57e484cd7d576d4357b9cda7fdc57df8c\nhttps://github.com/kamadak/exif-rs/commit/f21df24616ea611c5d5d0e0e2f8042eb74d5ff48\nhttps://crates.io/crates/kamadak-exif\nhttps://github.com/kamadak/exif-rs\nhttps://rustsec.org/advisories/RUSTSEC-2021-0143.html\n","enisa_id":"EUVD-2022-7148\n","aliases":"GHSA-px9g-8hgv-jvg2\nCVE-2021-21235\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:31:07 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"9a13c44f-55c5-3714-a74e-67fa10f25f50","vulnerability":{"id":"CVE-2021-21235","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.","datePublished":"Jan 6, 2021, 1:15:14 AM","dateUpdated":"Aug 3, 2024, 6:09:14 PM","status":"PUBLISHED","baseScore":5.7,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","references":"https://github.com/kamadak/exif-rs/security/advisories/GHSA-px9g-8hgv-jvg2\nhttps://crates.io/crates/kamadak-exif\nhttps://github.com/kamadak/exif-rs/commit/f21df24616ea611c5d5d0e0e2f8042eb74d5ff48\n","enisa_id":"EUVD-2022-7148\n","assigner":"GitHub_M","epss":1.53,"dataProcessed":"Nov 22, 2026, 5:26:39 AM","vulnerabilityProduct":[{"id":"6cde9c94-9a64-38e7-b0bb-33967b420e63","product":{"name":"exif-rs","vendor":{"name":"kamadak"}},"product_version":"\u003d 0.5.2"}],"vulnerabilityVendor":[{"id":"1b82f1ec-c215-3adb-81c6-a502705d620e","vendor":{"name":"kamadak"}}]}}],"enisaIdAdvisory":[]}