UBUNTU-CVE-2023-45677

Source
https://ubuntu.com/security/CVE-2023-45677
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-45677.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2023-45677
Related
Published
2023-10-21T00:15:00Z
Modified
2025-01-13T10:24:24Z
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

stbvorbis 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 len read in start_decoder is a negative number and setup_malloc successfully allocates memory in that case, but memory write is done with a negative index len. Similarly if len is INTMAX the integer overflow len+1 happens in f->vendor = (char*)setup_malloc(f, sizeof(char) * (len+1)); and f->comment_list[i] = (char*)setup_malloc(f, sizeof(char) * (len+1));. This issue may lead to code execution.

References

Affected packages

Ubuntu:20.04:LTS / libstb

Package

Name
libstb
Purl
pkg:deb/ubuntu/libstb@0.0~git20190817.1.052dce1-1?arch=source&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@0.0~git20210910.af1a5bc+ds-1?arch=source&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@0.0~git20240715.f7f20f39fe4f+ds-1?arch=source&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@0.0~git20230129.5736b15+ds-1.2?arch=source&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"
}