Skip to main content
← All vulnerabilities
CVE-2023-1521GHSA-X7FR-PG8F-93F5

Local Privilege Escalation in sccache

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.4.0
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Mozilla sccache

    fixed in 0.4.0

  • sccachecrates.io

    fixed in 0.4.0

References 3

securitylab.github.com

GitHub Advisory Database

GitHub · rubbxalc/CVE-2023-1521