{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-1521",
        "assignerOrgId": "f16b083a-5664-49f3-a51e-8d479e5ed7fe",
        "state": "PUBLISHED",
        "assignerShortName": "mozilla",
        "dateReserved": "2023-03-20T15:56:33.714Z",
        "datePublished": "2024-11-26T11:15:59.434Z",
        "dateUpdated": "2024-11-26T20:45:48.176Z"
    },
    "containers": {
        "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": "<p>On Linux the <code>sccache</code> client can execute arbitrary code with the privileges of a local <code>sccache</code> server, by preloading the code in a shared library passed to <code>LD_PRELOAD</code>.</p>\n<p>If the server is run as root (which is the default when installing the <a target=\"_blank\" rel=\"nofollow\" href=\"https://snapcraft.io/sccache\">snap package</a>), this means a user running the <code>sccache</code> client can get root privileges.</p>"
                        }
                    ],
                    "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": {
                "orgId": "f16b083a-5664-49f3-a51e-8d479e5ed7fe",
                "shortName": "mozilla",
                "dateUpdated": "2024-11-26T11:15:59.434Z"
            },
            "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"
            }
        },
        "adp": [
            {
                "affected": [
                    {
                        "vendor": "mozilla",
                        "product": "sccache",
                        "cpes": [
                            "cpe:2.3:a:mozilla:sccache:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0",
                                "status": "affected",
                                "lessThan": "0.4.0",
                                "versionType": "semver"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 7.8,
                            "attackVector": "LOCAL",
                            "baseSeverity": "HIGH",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                            "integrityImpact": "HIGH",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "HIGH"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-11-26T20:35:46.133326Z",
                                "id": "CVE-2023-1521",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-11-26T20:45:48.176Z"
                }
            }
        ]
    }
}