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 out of bounds write in f->vendor[len] = (char)'\0';. The root cause is that if the len read in start_decoder is -1 and len + 1 becomes 0 when passed to setup_malloc. The setup_malloc behaves differently when f->alloc.alloc_buffer is pre-allocated. Instead of returning NULL as in malloc case it shifts the pre-allocated buffer by zero and returns the currently available memory block. This issue may lead to code execution.(CVE-2023-45675)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 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-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