sccache — security advisory
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.
- Products
- sccache
- Affected versions
- 0.10.0-4, 0.10.0-7, 0.10.0-7ubuntu0.1, 0.11.0-1, 0.12.0-2, 0.12.0-3, 0.13.0+ds-1, 0.13.0+ds-3, 0.13.0+ds-3build1, 0.17.0+ds-3, 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, 0.7.7-2ubuntu0.1+esm1, 0.7.7-2ubuntu0.1~esm1, 0.9.1-3
- Fixed versions
- Not specified
- CVEs
- CVE-2023-1521
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:44 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2023-1521
sccache
Fixed versions: Not specified
sccache
Fixed versions: Not specified
sccache
Fixed versions: Not specified
sccache
Fixed versions: Not specified
Complete source record
{
"id": "a5a78dd17c848846a8969bd92963e21bd3981af8de7d5f4a8fedb2f1dd1d11a4",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-1521",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2023-1521",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2023-1521",
"products": [
{
"name": {
"value": "sccache",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.5.4-2",
"evidence": "/affected/0/versions"
},
{
"value": "0.7.4-3",
"evidence": "/affected/0/versions"
},
{
"value": "0.7.5-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.7.5-2",
"evidence": "/affected/0/versions"
},
{
"value": "0.7.6-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.7.7-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.7.7-2",
"evidence": "/affected/0/versions"
},
{
"value": "0.7.7-2build1",
"evidence": "/affected/0/versions"
},
{
"value": "0.7.7-2ubuntu0.1~esm1",
"evidence": "/affected/0/versions"
},
{
"value": "0.7.7-2ubuntu0.1",
"evidence": "/affected/0/versions"
},
{
"value": "0.7.7-2ubuntu0.1+esm1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "sccache",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.1-3",
"evidence": "/affected/1/versions"
},
{
"value": "0.10.0-4",
"evidence": "/affected/1/versions"
},
{
"value": "0.10.0-7",
"evidence": "/affected/1/versions"
},
{
"value": "0.10.0-7ubuntu0.1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "sccache",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.13.0+ds-3",
"evidence": "/affected/2/versions"
},
{
"value": "0.17.0+ds-3",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "sccache",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.10.0-7",
"evidence": "/affected/3/versions"
},
{
"value": "0.11.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "0.12.0-2",
"evidence": "/affected/3/versions"
},
{
"value": "0.12.0-3",
"evidence": "/affected/3/versions"
},
{
"value": "0.13.0+ds-1",
"evidence": "/affected/3/versions"
},
{
"value": "0.13.0+ds-3",
"evidence": "/affected/3/versions"
},
{
"value": "0.13.0+ds-3build1",
"evidence": "/affected/3/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2023-1521",
"aliases": [
"UBUNTU-CVE-2023-1521"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sccache",
"purl": "pkg:deb/ubuntu/sccache?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"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",
"0.7.7-2ubuntu0.1",
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sccache",
"binary_version": "0.7.7-2ubuntu0.1+esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sccache",
"purl": "pkg:deb/ubuntu/sccache?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.9.1-3",
"0.10.0-4",
"0.10.0-7",
"0.10.0-7ubuntu0.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-1521.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sccache",
"binary_version": "0.10.0-7ubuntu0.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sccache",
"purl": "pkg:deb/ubuntu/sccache?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.13.0+ds-3",
"0.17.0+ds-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-1521.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sccache",
"binary_version": "0.17.0+ds-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sccache",
"purl": "pkg:deb/ubuntu/sccache?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.10.0-7",
"0.11.0-1",
"0.12.0-2",
"0.12.0-3",
"0.13.0+ds-1",
"0.13.0+ds-3",
"0.13.0+ds-3build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-1521.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sccache",
"binary_version": "0.13.0+ds-3build1"
}
]
}
}
],
"modified": "2026-10-17T12:56:00.808014752Z",
"provider": "osv",
"upstream": [
"CVE-2023-1521"
],
"references": [
"https://ubuntu.com/security/CVE-2023-1521",
"https://www.cve.org/CVERecord?id=CVE-2023-1521",
"https://github.com/advisories/GHSA-x7fr-pg8f-93f5",
"https://securitylab.github.com/advisories/GHSL-2023-046_ScCache"
]
},
"related_cves": [
{
"value": "CVE-2023-1521",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 354561,
"published_at": "2024-11-26T12:15:00+00:00"
}