NULL pointer dereference in heimdal



Published: 2017-12-06 | Updated: 2020-08-03
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2017-17439
CWE-ID CWE-476
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
heimdal
Server applications / Encryption software

Vendor Heimdal Software

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) NULL pointer dereference

EUVDB-ID: #VU33177

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-17439

CWE-ID: CWE-476 - NULL Pointer Dereference

Exploit availability: No

Description

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

heimdal: 7.0.1 - 7.7.0

External links

http://h5l.org/advisories.html?show=2017-12-08
http://www.h5l.org/pipermail/heimdal-announce/2017-December/000008.html
http://www.h5l.org/pipermail/heimdal-discuss/2017-August/000259.html
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878144
http://github.com/heimdal/heimdal/commit/1a6a6e462dc2ac6111f9e02c6852ddec4849b887
http://github.com/heimdal/heimdal/issues/353
http://www.debian.org/security/2017/dsa-4055


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###