Free of Memory not on the Heap Affecting gssntlmssp package, versions <0:1.2.0-1.el8_8


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

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-RHEL8-GSSNTLMSSP-3326917
  • published21 Feb 2023
  • disclosed14 Feb 2023

Introduced: 14 Feb 2023

CVE-2023-25565  (opens in a new tab)
CWE-590  (opens in a new tab)

How to fix?

Upgrade RHEL:8 gssntlmssp to version 0:1.2.0-1.el8_8 or higher.
This issue was patched in RHSA-2023:3097.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gssntlmssp package and not the gssntlmssp package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

GSS-NTLMSSP is a mechglue plugin for the GSSAPI library that implements NTLM authentication. Prior to version 1.2.0, an incorrect free when decoding target information can trigger a denial of service. The error condition incorrectly assumes the cb and sh buffers contain a copy of the data that needs to be freed. However, that is not the case. This vulnerability can be triggered via the main gss_accept_sec_context entry point. This will likely trigger an assertion failure in free, causing a denial-of-service. This issue is fixed in version 1.2.0.

CVSS Scores

version 3.1