Use After Free Affecting krb5-server-ldap package, versions <0:1.12.2-14.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.81% (89th 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-KRB5SERVERLDAP-1426066
  • published26 Jul 2021
  • disclosed3 Feb 2015

Introduced: 3 Feb 2015

CVE-2014-5352  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade RHEL:7 krb5-server-ldap to version 0:1.12.2-14.el7 or higher.
This issue was patched in RHSA-2015:0439.

NVD Description

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

The krb5_gss_process_context_token function in lib/gssapi/krb5/process_context_token.c in the libgssapi_krb5 library in MIT Kerberos 5 (aka krb5) through 1.11.5, 1.12.x through 1.12.2, and 1.13.x before 1.13.1 does not properly maintain security-context handles, which allows remote authenticated users to cause a denial of service (use-after-free and double free, and daemon crash) or possibly execute arbitrary code via crafted GSSAPI traffic, as demonstrated by traffic to kadmind.

CVSS Scores

version 3.1