Vulnerability Description
An issue was discovered in stb stb_image.h 1.33 through 2.27. The HDR loader parsed truncated end-of-file RLE scanlines as an infinite sequence of zero-length runs. An attacker could potentially have caused denial of service in applications using stb_image by submitting crafted HDR files.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nothings | Stb Image.H | >= 1.33, <= 2.27 |
| Fedoraproject | Fedora | 33 |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://github.com/nothings/stb/issues/1224Issue TrackingThird Party Advisory
- https://github.com/nothings/stb/pull/1223Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/01/msg00045.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://github.com/nothings/stb/issues/1224Issue TrackingThird Party Advisory
- https://github.com/nothings/stb/pull/1223Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/01/msg00045.htmlMailing ListThird Party Advisory
FAQ
What is CVE-2021-42715?
CVE-2021-42715 is a vulnerability with a CVSS score of 5.5 (MEDIUM). An issue was discovered in stb stb_image.h 1.33 through 2.27. The HDR loader parsed truncated end-of-file RLE scanlines as an infinite sequence of zero-length runs. An attacker could potentially have ...
How severe is CVE-2021-42715?
CVE-2021-42715 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-42715?
Check the references section above for vendor advisories and patch information. Affected products include: Nothings Stb Image.H, Fedoraproject Fedora, Debian Debian Linux.