CVE-2017-15088: Buffer Overflow

Published Aug 10, 2017
·
Updated

A buffer overflow vulnerability was found in getmatchingdata() function when both the CA cert and the user cert have a long subject affecting krb5 that includes certauth plugin. Attack requires a validated certificate with a long subject and issuer, and a "pkinitcertmatch" string attribute on some principal in the database. A remote code execution exploit might also require that the attacker gets to choose the contents of the issuer in the validated cert.

Bug report:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871698

Other sources

plugins/preauth/pkinit/pkinitcryptoopenssl.c in MIT Kerberos 5 (aka krb5) through 1.15.2 mishandles Distinguished Name (DN) fields, which allows remote attackers to execute arbitrary code or cause a denial of service (buffer overflow and application crash) in situations involving untrusted X.509 data, related to the getmatchingdata and X509NAMEonelineex functions. NOTE: this has security relevance only in use cases outside of the MIT Kerberos distribution, e.g., the use of getmatchingdata in KDC certauth plugin code that is specific to Red Hat.

Affected Software

2 affected componentsFixes available
redhat/krb5<1.16
1.16
MIT Kerberos 5<=1.15.2

Event History

Aug 10, 2017
Data Sourced
via Debian·06:33 PM
SeverityAffected Software
Nov 23, 2017
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-15088?

CVE-2017-15088 is classified as a high severity vulnerability due to its potential for arbitrary code execution and denial of service.

2

How do I fix CVE-2017-15088?

To mitigate CVE-2017-15088, upgrade your MIT Kerberos 5 installation to version 1.16 or higher.

3

What type of attacks can exploit CVE-2017-15088?

CVE-2017-15088 can be exploited by remote attackers through mishandled Distinguished Name fields in untrusted X.509 certificates.

4

Which versions of MIT Kerberos 5 are affected by CVE-2017-15088?

CVE-2017-15088 affects all versions of MIT Kerberos 5 up to and including 1.15.2.

5

Can CVE-2017-15088 lead to application crashes?

Yes, CVE-2017-15088 can cause application crashes due to a buffer overflow condition.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203