ALPINE-CVE-2023-45675

Source
https://security.alpinelinux.org/vuln/CVE-2023-45675
Import Source
https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-45675.json
JSON Data
https://api.osv.dev/v1/vulns/ALPINE-CVE-2023-45675
Upstream
Published
2023-10-21T00:15:09Z
Modified
2026-11-03T06:32:59Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Alpine:v3.19
stb

Package

Name
stb
Purl
pkg:apk/alpine/stb?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0_git20231012-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-45675.json"
Alpine:v3.20
stb

Package

Name
stb
Purl
pkg:apk/alpine/stb?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0_git20231012-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-45675.json"
Alpine:v3.21
stb

Package

Name
stb
Purl
pkg:apk/alpine/stb?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0_git20231012-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-45675.json"
Alpine:v3.22
stb

Package

Name
stb
Purl
pkg:apk/alpine/stb?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0_git20231012-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-45675.json"
Alpine:v3.23
stb

Package

Name
stb
Purl
pkg:apk/alpine/stb?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0_git20231012-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-45675.json"
Alpine:v3.24
stb

Package

Name
stb
Purl
pkg:apk/alpine/stb?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0_git20231012-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-45675.json"