Vulnerability record · OpenEuler 22.03-LTS-SP2
An update for stb is now available for openEuler-22.03-LTS-SP2.
OpenEuler 22.03-LTS-SP2
What it fixes
Synopsis:
stb security updateSummary:
An update for stb is now available for openEuler-22.03-LTS-SP2.Description:
Single-file public domain libraries for C/C++.
stb_image is a single file MIT licensed library for processing images. A crafted image file may trigger out of bounds memcpy read in stbi__gif_load_next. This happens because two_back points to a memory address lower than the start of the buffer out. This issue may be used to leak internal memory allocation information.(CVE-2023-45661)
stb_image is a single file MIT licensed library for processing images. A crafted image file can trigger stbi__load_gif_main_outofmem attempt to double-free the out variable. This happens in stbi__load_gif_main because when the layers * stride value is zero the behavior is implementation defined, but common that realloc frees the old memory and returns null pointer. Since it attempts to double-free the memory a few lines below the first “free”, the issue can be potentially exploited only in a multi-threaded environment. In the worst case this may lead to code execution.(CVE-2023-45664)Topic:
An update for stb is now available for openEuler-22.03-LTS-SP2.
openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.Severity:
HighAffected Component:
stb
Manual fix · OpenEuler 22.03-LTS-SP2
sudo dnf upgrade stb stb-devel stb-help stb_c_lexer-devel stb_connected_components-devel stb_divide-devel …rpm -q stb stb-devel stb-help stb_c_lexer-devel stb_connected_components-devel stb_divide-devel …Sources