High severityNVD Advisory· Published Nov 26, 2024· Updated Nov 26, 2024
Local Privilege Escalation in sccache
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
sccachecrates.io | < 0.4.0 | 0.4.0 |
Affected products
12- ghsa-coords11 versionspkg:cargo/sccachepkg:rpm/opensuse/sccache&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/sccache&distro=openSUSE%20Leap%2015.5pkg:rpm/suse/sccache&distro=SUSE%20Enterprise%20Storage%207.1pkg:rpm/suse/sccache&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOSpkg:rpm/suse/sccache&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSSpkg:rpm/suse/sccache&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP4pkg:rpm/suse/sccache&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP5pkg:rpm/suse/sccache&distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3pkg:rpm/suse/sccache&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSSpkg:rpm/suse/sccache&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3
< 0.4.0+ 10 more
- (no CPE)range: < 0.4.0
- (no CPE)range: < 0.4.2~3-150400.3.3.1
- (no CPE)range: < 0.4.2~3-150400.3.3.1
- (no CPE)range: < 0.4.1~18-150300.7.12.1
- (no CPE)range: < 0.4.1~18-150300.7.12.1
- (no CPE)range: < 0.4.1~18-150300.7.12.1
- (no CPE)range: < 0.4.2~3-150400.3.3.1
- (no CPE)range: < 0.4.2~3-150400.3.3.1
- (no CPE)range: < 0.4.1~18-150300.7.12.1
- (no CPE)range: < 0.4.1~18-150300.7.12.1
- (no CPE)range: < 0.4.1~18-150300.7.12.1
- Mozilla/sccachev5Range: 0
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-x7fr-pg8f-93f5ghsavendor-advisoryADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-1521ghsaADVISORY
- securitylab.github.com/advisories/GHSL-2023-046_ScCacheghsathird-party-advisoryADVISORY
- github.com/mozilla/sccache/releases/tag/v0.4.0ghsaWEB
- github.com/mozilla/sccache/security/advisories/GHSA-x7fr-pg8f-93f5ghsaWEB
News mentions
0No linked articles in our index yet.