Skip to content

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

HighCVSS 7.5 EPSS 1.5%
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, 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.

Upgrade path

10 packages: 9 fixed.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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