patchminder
Proof of concept · GitHub CVE-2023-1521

Code executionin Mozilla sccache.

Published 26 Nov 2024 · Updated 26 Nov 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 7.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.4% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 0.4.0 or later
In plain words

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.

What to do now
  • Upgrade sccache to 0.4.0 or later.
  • Upgrade sccache (crates.io) to 0.4.0 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
sccache
before 0.4.0
0.4.0
CVE record
sccache (crates.io)
before 0.4.0
0.4.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 20 Mar 2023
    CVE ID reserved by mozilla.
  2. 15 Nov 2023
    First public proof of concept on GitHub.
  3. 26 Nov 2024
    Published in the CVE List.
  4. 26 Nov 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundrubbxalc/CVE-2023-15210 stars · created 15 Nov 2023

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Same weakness: Untrusted search path

All CWE-426 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-1521: Code execution in Mozilla sccache. https://patchminder.com/cve/cve-2023-1521/ (accessed 5 December 2026).