{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-31256",
        "assignerOrgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb",
        "assignerShortName": "suse",
        "datePublished": "2022-10-26T08:55:09.458554Z",
        "dateUpdated": "2024-09-16T16:32:57.789Z",
        "dateReserved": "2022-05-20T00:00:00"
    },
    "containers": {
        "cna": {
            "title": "sendmail: mail to root privilege escalation via sm-client.pre script",
            "datePublic": "2022-10-26T00:00:00",
            "providerMetadata": {
                "orgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb",
                "shortName": "suse",
                "dateUpdated": "2022-10-26T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A Improper Link Resolution Before File Access ('Link Following') vulnerability in a script called by the sendmail systemd service of openSUSE Factory allows local attackers to escalate from user mail to root. This issue affects: SUSE openSUSE Factory sendmail versions prior to 8.17.1-1.1."
                }
            ],
            "affected": [
                {
                    "vendor": "SUSE",
                    "product": "openSUSE Factory",
                    "versions": [
                        {
                            "version": "sendmail",
                            "status": "affected",
                            "lessThan": "8.17.1-1.1",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://bugzilla.suse.com/show_bug.cgi?id=1204696"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Matthias Gerstner and Filippo Bonazzi from SUSE"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "NONE",
                        "baseScore": 7.7,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-59: Improper Link Resolution Before File Access ('Link Following')",
                            "cweId": "CWE-59"
                        }
                    ]
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 0.0.9"
            },
            "source": {
                "advisory": "https://bugzilla.suse.com/show_bug.cgi?id=1204696",
                "defect": [
                    "1204696"
                ],
                "discovery": "INTERNAL"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T07:11:39.944Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://bugzilla.suse.com/show_bug.cgi?id=1204696",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}