UBUNTU-CVE-2023-45663

Source
https://ubuntu.com/security/CVE-2023-45663
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-45663.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-45663
Related
Published
2023-10-21T00:15:00Z
Modified
2024-10-15T14:11:48Z
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

stbimage 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

Ubuntu:20.04:LTS / libstb

Package

Name
libstb
Purl
pkg:deb/ubuntu/libstb?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.0~git20190817.1.052dce1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / libstb

Package

Name
libstb
Purl
pkg:deb/ubuntu/libstb?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.0~git20200713.b42009b+ds-1
0.0~git20210910.af1a5bc+ds-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / libstb

Package

Name
libstb
Purl
pkg:deb/ubuntu/libstb?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.0~git20230129.5736b15+ds-1.2
0.0~git20240715.f7f20f39fe4f+ds-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / libstb

Package

Name
libstb
Purl
pkg:deb/ubuntu/libstb?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.0~git20230129.5736b15+ds-1
0.0~git20230129.5736b15+ds-1.1
0.0~git20230129.5736b15+ds-1.2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}