UBUNTU-CVE-2023-1521

Source
https://ubuntu.com/security/CVE-2023-1521
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-1521.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2023-1521
Upstream
Published
2024-11-26T12:15:00Z
Modified
2026-01-20T18:19:51.210169Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

On Linux the sccache client can execute arbitrary code with the privileges of a local sccache server, by preloading the code in a shared library passed to LD_PRELOAD. If the server is run as root (which is the default when installing the snap package https://snapcraft.io/sccache ), this means a user running the sccache client can get root privileges.

References

Affected packages

Ubuntu:Pro:24.04:LTS / sccache

Package

Name
sccache
Purl
pkg:deb/ubuntu/sccache@0.7.7-2ubuntu0.1~esm1?arch=source&distro=esm-apps/noble

Affected ranges

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

Affected versions

0.*
0.5.4-2
0.7.4-3
0.7.5-1
0.7.5-2
0.7.6-1
0.7.7-1
0.7.7-2
0.7.7-2build1
0.7.7-2ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "sccache",
            "binary_version": "0.7.7-2ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-1521.json"

Ubuntu:25.10 / sccache

Package

Name
sccache
Purl
pkg:deb/ubuntu/sccache@0.10.0-7?arch=source&distro=questing

Affected ranges

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

Affected versions

0.*
0.9.1-3
0.10.0-4
0.10.0-7

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "sccache",
            "binary_version": "0.10.0-7"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-1521.json"