CVE-2023-1521
Local Privilege Escalation in sccache
- State
- Published
- Severity
- 7.8 High
- Published
- Nov 26, 2024
- Updated
- Nov 26, 2024
- Reserved
- Mar 20, 2023
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Weaknesses
- CWE-426 Untrusted Search Path
Affected Products
| Product | Versions |
|---|---|
sccacheMozilla |
|
References
- https://securitylab.github.com/advisories/GHSL-2023-046_ScCachethird-party-advisory
- https://github.com/advisories/GHSA-x7fr-pg8f-93f5vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.