{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-25564",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-02-07T17:10:00.735Z",
        "datePublished": "2023-02-14T17:35:26.294Z",
        "dateUpdated": "2024-08-02T11:25:19.239Z"
    },
    "containers": {
        "cna": {
            "title": "GSS-NTLMSSP vulnerable to memory corruption when decoding UTF16 strings",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-787",
                            "lang": "en",
                            "description": "CWE-787: Out-of-bounds Write",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 6.5,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/gssapi/gss-ntlmssp/security/advisories/GHSA-r85x-q5px-9xfq",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/gssapi/gss-ntlmssp/security/advisories/GHSA-r85x-q5px-9xfq"
                },
                {
                    "name": "https://github.com/gssapi/gss-ntlmssp/commit/c753000eb31835c0664e528fbc99378ae0cbe950",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/gssapi/gss-ntlmssp/commit/c753000eb31835c0664e528fbc99378ae0cbe950"
                },
                {
                    "name": "https://github.com/gssapi/gss-ntlmssp/releases/tag/v1.2.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/gssapi/gss-ntlmssp/releases/tag/v1.2.0"
                }
            ],
            "affected": [
                {
                    "vendor": "gssapi",
                    "product": "gss-ntlmssp",
                    "versions": [
                        {
                            "version": "< 1.2.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-02-14T17:35:26.294Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "GSS-NTLMSSP is a mechglue plugin for the GSSAPI library that implements NTLM authentication. Prior to version 1.2.0, memory corruption can be triggered when decoding UTF16 strings. The variable `outlen` was not initialized and could cause writing a zero to an arbitrary place in memory if `ntlm_str_convert()` were to fail, which would leave `outlen` uninitialized. This can lead to a denial of service if the write hits unmapped memory or randomly corrupts a byte in the application memory space. This vulnerability can trigger an out-of-bounds write, leading to memory corruption. This vulnerability can be triggered via the main `gss_accept_sec_context` entry point. This issue is fixed in version 1.2.0."
                }
            ],
            "source": {
                "advisory": "GHSA-r85x-q5px-9xfq",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T11:25:19.239Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/gssapi/gss-ntlmssp/security/advisories/GHSA-r85x-q5px-9xfq",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/gssapi/gss-ntlmssp/security/advisories/GHSA-r85x-q5px-9xfq"
                    },
                    {
                        "name": "https://github.com/gssapi/gss-ntlmssp/commit/c753000eb31835c0664e528fbc99378ae0cbe950",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/gssapi/gss-ntlmssp/commit/c753000eb31835c0664e528fbc99378ae0cbe950"
                    },
                    {
                        "name": "https://github.com/gssapi/gss-ntlmssp/releases/tag/v1.2.0",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/gssapi/gss-ntlmssp/releases/tag/v1.2.0"
                    }
                ]
            }
        ]
    }
}