cve/2021/CVE-2021-21235.md
2024-05-25 21:48:12 +02:00

18 lines
933 B
Markdown

### [CVE-2021-21235](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21235)
![](https://img.shields.io/static/v1?label=Product&message=exif-rs&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-400%3A%20Uncontrolled%20Resource%20Consumption&color=brighgreen)
### 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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/Artisan-Lab/Rust-memory-safety-bugs