{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-1521","id":"CVE-2023-1521","title":"Local Privilege Escalation in sccache","description":"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.\n\n\nIf 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.","descriptionLong":"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.\n\n\nIf 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":"2024-11-26T11:15:59.434Z","updated":"2026-06-17T05:28:08.833Z","reserved":"2023-03-20T15:56:33.714Z","status":"Analyzed","rejected":false,"assigner":"mozilla","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["Mozilla sccache"],"affectedProducts":[{"vendor":"Mozilla","product":"sccache","defaultStatus":"unknown","versions":[{"lessThan":"0.4.0","status":"affected","version":"0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"sccache","purl":"pkg:cargo/sccache","ranges":["<0.4.0"],"fixed":["0.4.0"],"advisory":"GHSA-x7fr-pg8f-93f5"}],"cwes":["CWE-426"],"aliases":["GHSA-x7fr-pg8f-93f5"],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2023-046_ScCache","tags":["third-party-advisory","Exploit","evidence","advisory"]},{"url":"https://github.com/advisories/GHSA-x7fr-pg8f-93f5","tags":["vendor-advisory","Third Party Advisory","advisory"]},{"url":"https://github.com/mozilla/sccache/security/advisories/GHSA-x7fr-pg8f-93f5","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-1521","tags":["advisory"]},{"url":"https://github.com/mozilla/sccache","tags":["package"]},{"url":"https://github.com/mozilla/sccache/releases/tag/v0.4.0","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00363,"epssPercentile":0.30777,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-1521","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-1521","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-1521","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x7fr-pg8f-93f5","ok":true,"note":"GHSA-x7fr-pg8f-93f5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-1521","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}