CVE-2023-1521: mozilla sccache Untrusted Search Path
Vulnerability summary
CVE-2023-1521 is a high (CVSS 7.8) Untrusted Search Path vulnerability in mozilla sccache. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 28.8% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 26-11-2024PublishedVulnerability first disclosed.
- 26-11-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · Crates.ioEcosystem advisory · calculated8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.36%
Chance of exploitation in the next 30 days
Percentile
29%
Versus all other CVEs
30-day change
0.00 pp
From 0.36% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundGhsl 2023 046 Sccache
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Crates.Io1 product
- sccache< 0.4.0
Debian1 product
- sccacheAll versions (No fix recorded) | < 0.5.3-1
Mozilla1 product
- sccache< 0.4.0
Ubuntu1 product
- sccacheAll versions (No fix recorded)
4 vendors · 4 products
References
9 links- github.com/mozilla/sccachePACKAGE