{"id":"UBUNTU-CVE-2023-1521","details":"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.","modified":"2026-05-20T16:07:34.143115154Z","published":"2024-11-26T12:15:00Z","upstream":["CVE-2023-1521"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-1521"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-1521"},{"type":"REPORT","url":"https://github.com/advisories/GHSA-x7fr-pg8f-93f5"},{"type":"REPORT","url":"https://securitylab.github.com/advisories/GHSL-2023-046_ScCache"}],"affected":[{"package":{"name":"sccache","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/sccache?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.4-2","0.7.4-3","0.7.5-1","0.7.5-2","0.7.6-1","0.7.7-1","0.7.7-2","0.7.7-2build1","0.7.7-2ubuntu0.1~esm1","0.7.7-2ubuntu0.1","0.7.7-2ubuntu0.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"sccache","binary_version":"0.7.7-2ubuntu0.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-1521.json"}},{"package":{"name":"sccache","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/sccache?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.1-3","0.10.0-4","0.10.0-7","0.10.0-7ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"sccache","binary_version":"0.10.0-7ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-1521.json"}},{"package":{"name":"sccache","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/sccache?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.0-7","0.11.0-1","0.12.0-2","0.12.0-3","0.13.0+ds-1","0.13.0+ds-3","0.13.0+ds-3build1"],"ecosystem_specific":{"binaries":[{"binary_name":"sccache","binary_version":"0.13.0+ds-3build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-1521.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}