PT-2021-7754 · Stb+3 · Stb+3
Kaka201
·
Published
2021-03-04
·
Updated
2023-02-24
·
CVE-2021-28021
CVSS v2.0
9.3
High
| Vector | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
stb versions 2.26
Description
The issue is related to a buffer overflow vulnerability in the
stbi extend receive function of the stb image.h component in the stb library for C/C++. This vulnerability can be exploited by a remote attacker using a specially crafted JPEG file, allowing them to access confidential data, compromise data integrity, and cause a denial of service.Recommendations
For stb version 2.26, consider disabling the
stbi extend receive function until a patch is available to prevent exploitation. Restrict access to the stb image.h component to minimize the risk of exploitation. Avoid using the stb image.h component with untrusted JPEG files until the issue is resolved.Exploit
Fix
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Debian
Suse
Stb