{"schemaVersion":3,"id":"CVE-2023-1521","aliases":["UBUNTU-CVE-2023-1521","DEBIAN-CVE-2023-1521","GHSA-x7fr-pg8f-93f5"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-11-26T11:15:59.434Z","modified":"2024-11-26T20:45:48.176Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Crates.io","score":8.6,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":8.4,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":6.4,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00363,"percentile":0.28874,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.003000000000000008,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.0036},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00363,"percentile":0.28874}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00363,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00363,"percentile":0.28874}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_ADVISORIES_GHSL-2023-046_SCCACHE","name":"Ghsl 2023 046 Sccache","source":"github","url":"https://securitylab.github.com/advisories/GHSL-2023-046_ScCache","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-426","name":"Untrusted Search Path","description":"The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/426.html"}],"affected":[{"vendor":"Crates.Io","product":"sccache","name":"sccache","label":"sccache","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/sccache","purlType":"cargo","versions":[{"text":"< 0.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4.0","eol":null,"hubHref":null},{"vendor":"debian","product":"sccache","name":"sccache","label":"sccache","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/sccache","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 0.5.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 0.5.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"sccache","name":"sccache","label":"sccache","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/sccache","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"mozilla","product":"sccache","name":"sccache","label":"sccache","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4.0","eol":null,"hubHref":"/vendor/mozilla/sccache"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2023-046_ScCache","label":"securitylab.github.com/advisories/GHSL-2023-046_ScCache","hostname":"securitylab.github.com","tags":["Third Party Advisory","REPORT","Advisory","Exploit"]},{"url":"https://github.com/advisories/GHSA-x7fr-pg8f-93f5","label":"github.com/advisories/GHSA-x7fr-pg8f-93f5","hostname":"github.com","tags":["Vendor Advisory","REPORT","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-1521","label":"ubuntu.com/security/CVE-2023-1521","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-1521","label":"www.cve.org/CVERecord?id=CVE-2023-1521","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-1521","label":"security-tracker.debian.org/tracker/CVE-2023-1521","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/mozilla/sccache/security/advisories/GHSA-x7fr-pg8f-93f5","label":"github.com/mozilla/sccache/security/advisories/GHSA-x7fr-pg8f-93f5","hostname":"github.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-1521","label":"nvd.nist.gov/vuln/detail/CVE-2023-1521","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/mozilla/sccache","label":"github.com/mozilla/sccache","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/mozilla/sccache/releases/tag/v0.4.0","label":"github.com/mozilla/sccache/releases/tag/v0.4.0","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["SUSE-SU-2023:2637-1","SUSE-SU-2023:3526-1"],"duplicates":[],"related":["SUSE-SU-2023:2637-1","SUSE-SU-2023:3526-1"]},"timeline":[{"kind":"published","date":"2024-11-26T11:15:59.434Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-11-26T20:45:48.176Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T08:44:59.618Z","stale":false,"partial":false}}