CVEvulnerability
CVE-2023-1521
7.8 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2024-11-26
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-426
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.
Affected configurations
• mozilla sccache (< 0.4.0)
Related
Weakness · CWE (1)
- CWE-426 Untrusted Search Path weakness
References
- https://github.com/advisories/GHSA-x7fr-pg8f-93f5 Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2023-046_ScCache Exploit