Key management errors in heimdal - CVE-2019-12098

 

Key management errors in heimdal - CVE-2019-12098

Published: June 25, 2020


Vulnerability identifier: #VU29242
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-12098
CWE-ID: CWE-320
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a Man-in-the-Middle (MitM) attack.

The vulnerability exists due to Heimdal fails to verify anonymous PKINIT PA-PKINIT-KX key exchange within the krb5_init_creds_step() function in lib/krb5/init_creds_pw.c. A remote attacker can perform a MitM attack against the Heimdal client.


Affected software

heimdal
cflinuxfs3
Fedora
Ubuntu
SUSE Linux
Opensuse
heimdal (Alpine package)
libkrb5-26-heimdal (Ubuntu package)
libgssapi3-heimdal (Ubuntu package)
heimdal-clients-x (Ubuntu package)
heimdal-servers (Ubuntu package)
heimdal-kcm (Ubuntu package)
heimdal-servers-x (Ubuntu package)
heimdal-kdc (Ubuntu package)
heimdal-clients (Ubuntu package)
libkdc2-heimdal (Ubuntu package)
heimdal

How to mitigate CVE-2019-12098

Install updates from vendor's website.

heimdal - update to 7.6.0
cflinuxfs3 - update to 0.328.0
heimdal (Alpine package) - addressed in versions 7.4.0-r4, 7.5.0-r3
libkrb5-26-heimdal (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 7.5.0+dfsg-1ubuntu0.1, 7.7.0+dfsg-1ubuntu1.1
libgssapi3-heimdal (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 7.5.0+dfsg-1ubuntu0.1, 7.7.0+dfsg-1ubuntu1.1
heimdal-clients-x (Ubuntu package) - update to Ubuntu Pro (Infra-only)
heimdal-servers (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 7.5.0+dfsg-1ubuntu0.1, 7.7.0+dfsg-1ubuntu1.1
heimdal-kcm (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 7.5.0+dfsg-1ubuntu0.1, 7.7.0+dfsg-1ubuntu1.1
heimdal-servers-x (Ubuntu package) - update to Ubuntu Pro (Infra-only)
heimdal-kdc (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 7.5.0+dfsg-1ubuntu0.1, 7.7.0+dfsg-1ubuntu1.1
heimdal-clients (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 7.5.0+dfsg-1ubuntu0.1, 7.7.0+dfsg-1ubuntu1.1
libkdc2-heimdal (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 7.5.0+dfsg-1ubuntu0.1, 7.7.0+dfsg-1ubuntu1.1
heimdal - addressed in versions 7.7.0-2.el6_10, 7.7.0-2.el7, 7.7.0-2.fc30, 7.7.0-2.fc31

External References

Related Security Bulletins