NULL pointer dereference in heimdal - CVE-2017-17439

 

NULL pointer dereference in heimdal - CVE-2017-17439

Published: December 6, 2017 / Updated: August 3, 2020


Vulnerability identifier: #VU33177
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-17439
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.

In Heimdal through 7.4, remote unauthenticated attackers are able to crash the KDC by sending a crafted UDP packet containing empty data fields for client name or realm. The parser would unconditionally dereference NULL pointers in that case, leading to a segmentation fault. This is related to the _kdc_as_rep function in kdc/kerberos5.c and the der_length_visible_string function in lib/asn1/der_length.c.


Affected software

heimdal
Fedora
Opensuse
heimdal (Alpine package)
heimdal

How to mitigate CVE-2017-17439

Install update from vendor's website.

heimdal (Alpine package) - update to 7.1.0-r2
heimdal - addressed in versions 7.5.0-1.el6, 7.5.0-1.el7, 7.5.0-1.fc26, 7.5.0-1.fc27

External References

Related Security Bulletins