Security mailing lists by PureSourceCode

CVE-2023-1521

HIGH 7.8CVSS 3.1

sccache vulnerable to privilege escalation if server is run as root

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.

Published
26 Nov 2024
Last modified
17 Jun 2026
Assigned by
security@mozilla.org
NVD status
Analyzed
Weakness
CWE-426
Also known as
GHSA-x7fr-pg8f-93f5
Sources
NVDJSONOSV GHSA-x7fr-pg8f-93f5JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
OSV GitHub CVSS 3.1 HIGH 8.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mozilla sccache
cpe:2.3:a:mozilla:sccache:*:*:*:*:*:rust:*:*
< 0.4.0 0.4.0
OSV crates.io sccache < 0.4.0 0.4.0

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 26 Nov 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 May 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.