CVE-2023-25564
Prior to version 1.2.0, memory corruption can be triggered when decoding UTF16 strings.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.94%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 8.2 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- EPSS
- 1.94% probability · 79th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- gss-ntlmssp project/gss-ntlmssp
- Source
- security-advisories@github.com
References
- https://github.com/gssapi/gss-ntlmssp/commit/c753000eb31835c0664e528fbc99378ae0cbe950Patch, Third Party Advisory
- https://github.com/gssapi/gss-ntlmssp/releases/tag/v1.2.0Third Party Advisory
- https://github.com/gssapi/gss-ntlmssp/security/advisories/GHSA-r85x-q5px-9xfqThird Party Advisory
- https://github.com/gssapi/gss-ntlmssp/commit/c753000eb31835c0664e528fbc99378ae0cbe950Patch, Third Party Advisory
- https://github.com/gssapi/gss-ntlmssp/releases/tag/v1.2.0Third Party Advisory
- https://github.com/gssapi/gss-ntlmssp/security/advisories/GHSA-r85x-q5px-9xfqThird Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.