NULL Pointer Dereference Affecting krb5-pkinit-openssl package, versions <0:1.14.1-27.41.amzn1


Severity

Recommended
low

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
4.62% (92nd 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-AMZN201803-KRB5PKINITOPENSSL-1704149
  • published27 Sept 2021
  • disclosed1 Aug 2016

Introduced: 1 Aug 2016

CVE-2016-3120  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 krb5-pkinit-openssl to version 0:1.14.1-27.41.amzn1 or higher.
This issue was patched in ALAS-2017-793.

NVD Description

Note: Versions mentioned in the description apply only to the upstream krb5-pkinit-openssl package and not the krb5-pkinit-openssl package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

The validate_as_request function in kdc_util.c in the Key Distribution Center (KDC) in MIT Kerberos 5 (aka krb5) before 1.13.6 and 1.4.x before 1.14.3, when restrict_anonymous_to_tgt is enabled, uses an incorrect client data structure, which allows remote authenticated users to cause a denial of service (NULL pointer dereference and daemon crash) via an S4U2Self request.