CVE-2021-21235: kamadak-exif vulnerable to Infinite loop when parsing PNG files
Reader::read_from_container can cause an infinite loop when a crafted PNG file is given.
References
- crates.io/crates/kamadak-exif
- github.com/advisories/GHSA-px9g-8hgv-jvg2
- github.com/kamadak/exif-rs
- github.com/kamadak/exif-rs/commit/1b05eab57e484cd7d576d4357b9cda7fdc57df8c
- github.com/kamadak/exif-rs/commit/f21df24616ea611c5d5d0e0e2f8042eb74d5ff48
- github.com/kamadak/exif-rs/security/advisories/GHSA-px9g-8hgv-jvg2
- nvd.nist.gov/vuln/detail/CVE-2021-21235
- rustsec.org/advisories/RUSTSEC-2021-0143.html
Detect and mitigate CVE-2021-21235 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →