CVE-2017-17439
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.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | heimdal | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | heimdal | Not affected vulnerable_code_not_present | ||
| Debian 14 | heimdal | Fixed | 7.5.0+dfsg-1 | DEBIAN-CVE-2017-17439 |
| Debian 13 | heimdal | Fixed | 7.5.0+dfsg-1 | DEBIAN-CVE-2017-17439 |
| Debian 12 | heimdal | Fixed | 7.5.0+dfsg-1 | DEBIAN-CVE-2017-17439 |
| Alpine Linux 3.24 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.23 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.22 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.21 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.20 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.19 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.18 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.17 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.16 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.15 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.14 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.13 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.12 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.11 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.10 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.9 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.8 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.7 | heimdal | Fixed | 7.4.0-r2 | ALPINE-CVE-2017-17439 |
| Alpine Linux 3.6 | heimdal | Fixed | 7.1.0-r2 | ALPINE-CVE-2017-17439 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://www.debian.org/security/2017/dsa-4055 (vendor-advisory)
References
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878144
- https://github.com/heimdal/heimdal/commit/1a6a6e462dc2ac6111f9e02c6852ddec4849b887
- http://www.h5l.org/pipermail/heimdal-announce/2017-December/000008.html
- http://www.h5l.org/pipermail/heimdal-discuss/2017-August/000259.html
- https://github.com/heimdal/heimdal/issues/353
- http://h5l.org/advisories.html?show=2017-12-08
- https://www.debian.org/security/2017/dsa-4055
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.