{"id":"DEBIAN-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-09-15T22:00:05.061135927Z","published":"2024-11-26T12:15:18.203Z","upstream":["CVE-2023-1521"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2023-1521"}],"affected":[{"package":{"name":"sccache","ecosystem":"Debian:12","purl":"pkg:deb/debian/sccache?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.0-1","0.10.0-10","0.10.0-2","0.10.0-3","0.10.0-4","0.10.0-5","0.10.0-6","0.10.0-7","0.10.0-8","0.10.0-9","0.11.0-1","0.12.0-1","0.12.0-2","0.12.0-3","0.13.0+ds-1","0.13.0+ds-2","0.13.0+ds-3","0.14.0+ds-1","0.14.0+ds-2","0.14.0+ds-3","0.14.0+ds-4","0.15.0+ds-1","0.16.0+ds-1","0.17.0+ds-1","0.17.0+ds-2","0.17.0+ds-3","0.4.0~~pre6-1","0.4.0~~pre7-1","0.4.0~~pre8-1","0.4.0~~pre8-2","0.4.0~~pre8-3","0.4.0~~pre8-4","0.4.0~~pre8-5","0.4.0~~pre8-6","0.4.0~~pre8-7","0.4.0~~pre8-8","0.4.2-1","0.5.0-1","0.5.3-1","0.5.4-1","0.5.4-10","0.5.4-11","0.5.4-12","0.5.4-2","0.5.4-3","0.5.4-4","0.5.4-5","0.5.4-6","0.5.4-7","0.5.4-8","0.5.4-9","0.7.4-1","0.7.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.8.0-1","0.8.0-2","0.8.0-3","0.8.1-1","0.8.1-2","0.8.1-3","0.8.1-4","0.8.1-5","0.8.1-6","0.8.1-7","0.8.1-8","0.8.2-1","0.8.2-2","0.9.0-1","0.9.0-2","0.9.0-3","0.9.1-1","0.9.1-2","0.9.1-3"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2023-1521.json"}},{"package":{"name":"sccache","ecosystem":"Debian:13","purl":"pkg:deb/debian/sccache?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2023-1521.json"}},{"package":{"name":"sccache","ecosystem":"Debian:14","purl":"pkg:deb/debian/sccache?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2023-1521.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}