CVE-2023-1521
published high CVSS 3.1 · 7.8Local Privilege Escalation in sccache
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Mozilla | — | sccache0 to < 0.4.0 · Other versions: unknown | Affected | Not stated | mozilla |
| mozilla | — | sccache0 to < 0.4.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | SLE-15-SP3 | sccacheaarch64 | Advisory build | 0.4.1~18-150300.7.12.1 | SUSE-SU-2023:2637-1 |
| SUSE / openSUSE | SLE-15-SP3 | sccachex86_64 | Advisory build | 0.4.1~18-150300.7.12.1 | SUSE-SU-2023:2637-1 |
| SUSE / openSUSE | SLE-15-SP4 | sccacheaarch64 | Advisory build | 0.4.2~3-150400.3.3.1 | SUSE-SU-2023:3526-1 |
| SUSE / openSUSE | SLE-15-SP4 | sccachex86_64 | Advisory build | 0.4.2~3-150400.3.3.1 | SUSE-SU-2023:3526-1 |
| SUSE / openSUSE | SLE-15-SP5 | sccacheaarch64 | Advisory build | 0.4.2~3-150400.3.3.1 | SUSE-SU-2023:3526-1 |
| SUSE / openSUSE | SLE-15-SP5 | sccacheppc64le | Advisory build | 0.4.1~18-150300.7.12.1 | SUSE-SU-2023:2637-1 |
Show 6 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP5 | sccaches390x | Advisory build | 0.4.1~18-150300.7.12.1 | SUSE-SU-2023:2637-1 |
| SUSE / openSUSE | SLE-15-SP5 | sccachex86_64 | Advisory build | 0.4.2~3-150400.3.3.1 | SUSE-SU-2023:3526-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | sccacheaarch64 | Advisory build | 0.4.2~3-150400.3.3.1 | SUSE-SU-2023:3526-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | sccachex86_64 | Advisory build | 0.4.2~3-150400.3.3.1 | SUSE-SU-2023:3526-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sccacheaarch64 | Advisory build | 0.4.2~3-150400.3.3.1 | SUSE-SU-2023:3526-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sccachex86_64 | Advisory build | 0.4.2~3-150400.3.3.1 | SUSE-SU-2023:3526-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Mozilla | sccache | 0 to < 0.4.0 (affected · semver)Default: unknown | mozilla · cna |
| mozilla | sccache | 0 to < 0.4.0 (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-426 CWE-426 Untrusted Search Path
References
2Provider assertions
2mozilla · cna
Local Privilege Escalation in sccache
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b43bf9c6ab9b8cd711c766472c463f62ce5136e4a9003b309300bd33709f2493
- Ingested
- 23 Sep 2026, 08:05:26 UTC
- Source record
- Official CVE record