All the vulnerabilites related to Mozilla - sccache
cve-2023-1521
Vulnerability from cvelistv5
Published
2024-11-26 11:15
Modified
2024-11-26 20:45
Severity ?
EPSS score ?
Summary
Local Privilege Escalation in sccache
References
▼ | URL | Tags |
---|---|---|
https://securitylab.github.com/advisories/GHSL-2023-046_ScCache | third-party-advisory | |
https://github.com/advisories/GHSA-x7fr-pg8f-93f5 | vendor-advisory |
{ "containers": { "adp": [ { "affected": [ { "cpes": [ "cpe:2.3:a:mozilla:sccache:*:*:*:*:*:*:*:*" ], "defaultStatus": "unknown", "product": "sccache", "vendor": "mozilla", "versions": [ { "lessThan": "0.4.0", "status": "affected", "version": "0", "versionType": "semver" } ] } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "HIGH", "baseScore": 7.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "version": "3.1" } }, { "other": { "content": { "id": "CVE-2023-1521", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "timestamp": "2024-11-26T20:35:46.133326Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2024-11-26T20:45:48.176Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" } ], "cna": { "affected": [ { "defaultStatus": "unknown", "product": "sccache", "vendor": "Mozilla", "versions": [ { "lessThan": "0.4.0", "status": "affected", "version": "0", "versionType": "semver" } ] } ], "credits": [ { "lang": "en", "type": "reporter", "value": "Paolo Tranquilli (@redsun82)" } ], "descriptions": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "\u003cp\u003eOn Linux the \u003ccode\u003esccache\u003c/code\u003e client can execute arbitrary code with the privileges of a local \u003ccode\u003esccache\u003c/code\u003e server, by preloading the code in a shared library passed to \u003ccode\u003eLD_PRELOAD\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eIf the server is run as root (which is the default when installing the \u003ca target=\"_blank\" rel=\"nofollow\" href=\"https://snapcraft.io/sccache\"\u003esnap package\u003c/a\u003e), this means a user running the \u003ccode\u003esccache\u003c/code\u003e client can get root privileges.\u003c/p\u003e" } ], "value": "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." } ], "impacts": [ { "capecId": "CAPEC-233", "descriptions": [ { "lang": "en", "value": "CAPEC-233 Privilege Escalation" } ] } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-426", "description": "CWE-426 Untrusted Search Path", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2024-11-26T11:15:59.434Z", "orgId": "f16b083a-5664-49f3-a51e-8d479e5ed7fe", "shortName": "mozilla" }, "references": [ { "tags": [ "third-party-advisory" ], "url": "https://securitylab.github.com/advisories/GHSL-2023-046_ScCache" }, { "tags": [ "vendor-advisory" ], "url": "https://github.com/advisories/GHSA-x7fr-pg8f-93f5" } ], "source": { "discovery": "EXTERNAL" }, "title": "Local Privilege Escalation in sccache", "x_generator": { "engine": "Vulnogram 0.2.0" } } }, "cveMetadata": { "assignerOrgId": "f16b083a-5664-49f3-a51e-8d479e5ed7fe", "assignerShortName": "mozilla", "cveId": "CVE-2023-1521", "datePublished": "2024-11-26T11:15:59.434Z", "dateReserved": "2023-03-20T15:56:33.714Z", "dateUpdated": "2024-11-26T20:45:48.176Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }