CVE-2023-25564 GSS-NTLMSSP vulnerable to memory corruption when decoding UTF16 strings
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
10 packages: 9 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/gss-ntlmssp(Debian 12) | < 1.2.0-1 | 1.2.0-1 | Fixed |
| debian/gss-ntlmssp(Debian 13) | < 1.2.0-1 | 1.2.0-1 | Fixed |
| debian/gss-ntlmssp(Debian 14) | < 1.2.0-1 | 1.2.0-1 | Fixed |
| gss-ntlmssp project gss-ntlmssp | < 1.2.0 | 1.2.0 | Fixed |
| ubuntu/gss-ntlmssp(Ubuntu 22.04) | < 0.7.0-4ubuntu0.22.04.1~esm1 | 0.7.0-4ubuntu0.22.04.1~esm1 | Fixed |
| ubuntu/gss-ntlmssp(Ubuntu Pro 16.04) | < 0.7.0-3~ubuntu0.16.04.1+esm1; = 0.6.0-1; = 0.7.0-3~ubuntu0.16.04.1 | 0.7.0-3~ubuntu0.16.04.1+esm1 | Fixed |
| ubuntu/gss-ntlmssp(Ubuntu Pro 18.04) | < 0.7.0-4ubuntu0.18.04.1~esm1; = 0.7.0-3; = 0.7.0-4; = 0.7.0-4build1 +1 more | 0.7.0-4ubuntu0.18.04.1~esm1 | Fixed |
| ubuntu/gss-ntlmssp(Ubuntu Pro 20.04) | < 0.7.0-4ubuntu0.20.04.1~esm1; = 0.7.0-4build3 | 0.7.0-4ubuntu0.20.04.1~esm1 | Fixed |
| ubuntu/gss-ntlmssp(Ubuntu Pro 22.04) | < 0.7.0-4ubuntu0.22.04.1~esm1; = 0.7.0-4build3; = 0.7.0-4build4 | 0.7.0-4ubuntu0.22.04.1~esm1 | Fixed |
| gssapi gss-ntlmssp | = < 1.2.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/gss-ntlmssp(Debian:12) | < 1.2.0-1 | 1.2.0-1 |
| debian/gss-ntlmssp(Debian:13) | < 1.2.0-1 | 1.2.0-1 |
| debian/gss-ntlmssp(Debian:14) | < 1.2.0-1 | 1.2.0-1 |
| gssapi gss-ntlmssp | = < 1.2.0 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:22.04) | < 0.7.0-4ubuntu0.22.04.1~esm1 | 0.7.0-4ubuntu0.22.04.1~esm1 |
| gss-ntlmssp project gss-ntlmssp | < 1.2.0 | 1.2.0 |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:16.04) | < 0.7.0-3~ubuntu0.16.04.1+esm1 | 0.7.0-3~ubuntu0.16.04.1+esm1 |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:16.04) | = 0.6.0-1 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:16.04) | = 0.7.0-3~ubuntu0.16.04.1 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:18.04) | < 0.7.0-4ubuntu0.18.04.1~esm1 | 0.7.0-4ubuntu0.18.04.1~esm1 |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:18.04) | = 0.7.0-3 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:18.04) | = 0.7.0-4 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:18.04) | = 0.7.0-4build1 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:18.04) | = 0.7.0-4build3 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:20.04) | < 0.7.0-4ubuntu0.20.04.1~esm1 | 0.7.0-4ubuntu0.20.04.1~esm1 |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:20.04) | = 0.7.0-4build3 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:22.04) | < 0.7.0-4ubuntu0.22.04.1~esm1 | 0.7.0-4ubuntu0.22.04.1~esm1 |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:22.04) | = 0.7.0-4build3 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:22.04) | = 0.7.0-4build4 | No fix listed |
References
- Debian Security Tracker CVE-2023-25564 vendor-advisory
- https://github.com/gssapi/gss-ntlmssp/security/advisories/GHSA-r85x-q5px-9xfq issue-tracking third-party-advisory
- https://github.com/gssapi/gss-ntlmssp/commit/c753000eb31835c0664e528fbc99378ae0cbe950 issue-tracking patch third-party-advisory
- https://github.com/gssapi/gss-ntlmssp/releases/tag/v1.2.0 third-party-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-7588-1 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking