ALPINE-CVE-2023-45663

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

stb_image is a single file MIT licensed library for processing images. The stbi__getn function reads a specified number of bytes from context (typically a file) into the specified buffer. In case the file stream points to the end, it returns zero. There are two places where its return value is not checked: In the stbi__hdr_load function and in the stbi__tga_load function. The latter of the two is likely more exploitable as an attacker may also control the size of an uninitialized buffer.

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-45663.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-45663.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-45663.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-45663.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-45663.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-45663.json"