Vulnerability record · OpenEuler 22.03-LTS-SP3
An update for stb is now available for openEuler-22.03-LTS-SP3.
OpenEuler 22.03-LTS-SP3
What it fixes
Synopsis:
stb security updateSummary:
An update for stb is now available for openEuler-22.03-LTS-SP3.Description:
Single-file public domain libraries for C/C++.
stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger memory write past an allocated heap buffer in start_decoder. The root cause is a potential integer overflow in sizeof(char*) * (f->comment_list_length) which may make setup_malloc allocate less memory than required. Since there is another integer overflow an attacker may overflow it too to force setup_malloc to return 0 and make the exploit more reliable. This issue may lead to code execution.(CVE-2023-45681)
A heap-based buffer overflow vulnerability exists in the comment functionality of stb _vorbis.c v1.22. A specially crafted .ogg file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2023-47212)Topic:
An update for stb is now available for openEuler-22.03-LTS-SP3.
openEuler Security has rated this update as having a security impact of critical. 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:
CriticalAffected Component:
stb
Manual fix · OpenEuler 22.03-LTS-SP3
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