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), this means a user running the sccache
client can get root privileges.
Upgrade to 0.4.0
Don't run sccache server as root.
GHSL-2023-046
{ "nvd_published_at": "2024-11-26T12:15:18Z", "cwe_ids": [ "CWE-426" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2023-05-30T20:06:02Z" }