CVE-2023-45675
Summary
| CVE | CVE-2023-45675 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-10-21 00:15:00 UTC |
| Updated | 2023-11-04 06:15:00 UTC |
| Description | 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| GHSL-2023-145_GHSL-2023-151/GHSL-2023-165_GHSL-2023-172: Several memory access violations in stb_image and stb_vorbis | GitHub Security Lab |
MISC |
securitylab.github.com |
|
| [SECURITY] Fedora 39 Update: usd-23.08-2.fc39 - package-announce - Fedora Mailing-Lists |
MISC |
lists.fedoraproject.org |
|
| github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/st... |
MISC |
github.com |
|
| github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/st... |
MISC |
github.com |
|
| [SECURITY] Fedora 37 Update: stb-0^20231011gitbeebb24-12.fc37 - package-announce - Fedora Mailing-Lists |
MISC |
lists.fedoraproject.org |
|
| github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/st... |
MISC |
github.com |
|
| [SECURITY] Fedora 38 Update: stb-0^20231011gitbeebb24-12.fc38 - package-announce - Fedora Mailing-Lists |
MISC |
lists.fedoraproject.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 284707 Fedora Security Update for stb (FEDORA-2023-d486d13cfd)
- 284708 Fedora Security Update for stb (FEDORA-2023-a93c06a1d9)
- 285170 Fedora Security Update for stb (FEDORA-2023-def2f95af4)
- 506249 Alpine Linux Security Update for stb