CVE-2017-15088

NameCVE-2017-15088
Descriptionplugins/preauth/pkinit/pkinit_crypto_openssl.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 get_matching_data and X509_NAME_oneline_ex functions. NOTE: this has security relevance only in use cases outside of the MIT Kerberos distribution, e.g., the use of get_matching_data in KDC certauth plugin code that is specific to Red Hat.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severityhigh (attack range: remote)
Debian Bugs871698

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
krb5 (PTS)wheezy1.10.1+dfsg-5+deb7u7vulnerable
wheezy (security)1.10.1+dfsg-5+deb7u8vulnerable
jessie1.12.1+dfsg-19+deb8u4vulnerable
jessie (security)1.12.1+dfsg-19+deb8u2vulnerable
stretch1.15-1+deb9u1vulnerable
buster, sid1.15.2-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
krb5source(unstable)1.15.2-2unimportant871698

Notes

https://github.com/krb5/krb5/pull/707
Fixed by: https://github.com/krb5/krb5/commit/fbb687db1088ddd894d975996e5f6a4252b9a2b4
Red Hat eanbled the code in question in the KDC and thus having it
exposed as network-facing issue. For Debian and upstream the code only
runs on client systems, and only with a certificate that is explicitly
configured locally, leading to a local kinit crash if passed a crafted
local certificate. This is hardly has any harmful security implication.

Search for package or bug name: Reporting problems