CVE-2023-1521
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | affected | |
| debian | forky | fixed | 0.5.3-1 |
| debian | sid | fixed | 0.5.3-1 |
| debian | trixie | fixed | 0.5.3-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| crates.io | sccache | <0.4.0 | 0.4.0 |
References
- https://www.suse.com/security/cve/CVE-2023-1521.html
- https://github.com/mozilla/sccache/security/advisories/GHSA-x7fr-pg8f-93f5
- https://nvd.nist.gov/vuln/detail/CVE-2023-1521
- https://github.com/mozilla/sccache
- https://github.com/mozilla/sccache/releases/tag/v0.4.0
- https://securitylab.github.com/advisories/GHSL-2023-046_ScCache
- https://security-tracker.debian.org/tracker/CVE-2023-1521
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.