Live threats

All CVEs / Mozilla

CVE-2023-1521Mozilla Sccache

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
—
Auth required
Yes
Published
Nov 26, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-426
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sccache.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io sccache < 0.4.0 0.4.0 cargo update -p sccache --precise 0.4.0

Per OSV / GitHub Advisories (GHSA-x7fr-pg8f-93f5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mozillasccache< 0.4.0

Official sources

References

Links published by the sources. Open them with care.