Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-25564 EUVD-2023-29516

GSS-NTLMSSP vulnerable to memory corruption when decoding UTF16 strings

Published Feb 14, 2023 · Updated Mar 10, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
gssapi gss-ntlmssp < 1.2.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gss-ntlmssp 1.2.0-1 —
Debian 13 gss-ntlmssp 1.2.0-1 —
Debian 12 gss-ntlmssp 1.2.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS gss-ntlmssp 0.7.0-4ubuntu0.22.04.1~esm1 USN-7588-1
Ubuntu Pro 20.04 LTS gss-ntlmssp 0.7.0-4ubuntu0.20.04.1~esm1 USN-7588-1
Ubuntu Pro 18.04 LTS gss-ntlmssp 0.7.0-4ubuntu0.18.04.1~esm1 USN-7588-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS gss-ntlmssp 0.7.0-3~ubuntu0.16.04.1+esm1 USN-7588-1
ReleasePackageFixed inAdvisory
RHEL 8 gssntlmssp 1.2.0-1.el8_8 RHSA-2023:3097

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 gssntlmssp 1.2.0-1.el8_8 ALSA-2023:3097
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP4 gssntlmssp 1.2.0-bp154.2.3.1 openSUSE-SU-2023:0048-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 gssntlmssp 1.2.0-bp154.2.3.1 openSUSE-SU-2023:0048-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 gssntlmssp 1.3.1-1 —
Azure Linux 2 (CBL-Mariner) gssntlmssp No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 gssntlmssp 1.2.0-1.el8_8 ELSA-2023-3097

Advisories 6

References