Skip to content
OpenAdvisories
Medium · 5.9 CVE-2023-25563 EUVD-2023-29515

GSS-NTLMSSP vulnerable to multiple out-of-bounds reads when decoding NTLM fields

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, multiple out-of-bounds reads when decoding NTLM fields can trigger a denial of service. A 32-bit integer overflow condition can lead to incorrect checks of consistency of length of internal buffers. Although most applications will error out before accepting a singe input buffer of 4GB in length this could theoretically happen. This vulnerability can be triggered via the main `gss_accept_sec_context` entry point if the application allows tokens greater than 4GB in length. This can lead to a large, up to 65KB, out-of-bounds read which could cause a denial-of-service if it reads from unmapped memory. Version 1.2.0 contains a patch for the out-of-bounds reads.

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