cve.bz

CVE-2023-1521 mozilla sccache: Untrusted Search Path

7.8 highExploit referenceEPSS 0.4%Fix available

High (7.8) in mozilla sccache. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in sccache 0.4.0.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 31st percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-11-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-426 Untrusted Search Path
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-1521 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-1521?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-1521?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-1521 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Mozilla sccachebefore 0.4.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-x7fr-pg8f-93f5crates.iosccache<0.4.00.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12sccacheno fix listedDEBIAN-CVE-2023-1521
Debian13, 14sccache0.5.3-1DEBIAN-CVE-2023-1521
Ubuntu25.10, 26.04:LTS, 26.10 and 1 moresccacheno fix listedUBUNTU-CVE-2023-1521
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 moresccache0.4.1~18-150300.7.12.1SUSE-SU-2023:2637-1
SUSELinux Enterprise Module for Development Tools 15 SP4, Linux Enterprise Module for Development Tools 15 SP5sccache0.4.2~3-150400.3.3.1SUSE-SU-2023:3526-1
openSUSELeap 15.4, Leap 15.5sccache0.4.2~3-150400.3.3.1SUSE-SU-2023:3526-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-38 Leveraging/Manipulating Configuration File Search Paths Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON