Out-of-bounds Write Affecting gssapi/gss-ntlmssp package, versions [,1.2.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-GSSAPIGSSNTLMSSP-3319951
  • published15 Feb 2023
  • disclosed15 Feb 2023
  • creditphilipturnbull

Introduced: 15 Feb 2023

CVE-2023-25564  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade gssapi/gss-ntlmssp to version 1.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write 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.

CVSS Base Scores

version 3.1