CVE-2018-21029
systemd 239 through 245 accepts any certificate signed by a trusted certificate authority for DNS Over TLS. Server Name Indication (SNI) is not sent, and there is no hostname validation with the GnuTLS backend. NOTE: This has been disputed by the developer as not a vulnerability since hostname validation does not have anything to do with this issue (i.e. there is no hostname to be sent)
What to do
Fixed builds are available from 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 16.04 | systemd | Not affected vulnerable_code_not_present | ||
| Debian 14 | systemd | Fixed | 244-1 | DEBIAN-CVE-2018-21029 |
| Debian 13 | systemd | Fixed | 244-1 | DEBIAN-CVE-2018-21029 |
| Debian 12 | systemd | Fixed | 244-1 | DEBIAN-CVE-2018-21029 |
| Red Hat Enterprise Linux 8 | systemd | Not affected | ||
| Red Hat Enterprise Linux 8 | systemd-container | Not affected | ||
| Red Hat Enterprise Linux 8 | systemd-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | systemd-journal-remote | Not affected | ||
| Red Hat Enterprise Linux 8 | systemd-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | systemd-pam | Not affected | ||
| Red Hat Enterprise Linux 8 | systemd-tests | Not affected | ||
| Red Hat Enterprise Linux 8 | systemd-udev | Not affected | ||
| Red Hat Enterprise Linux 7 | libgudev1 | Not affected | ||
| Red Hat Enterprise Linux 7 | libgudev1-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | systemd | Not affected | ||
| Red Hat Enterprise Linux 7 | systemd-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | systemd-journal-gateway | Not affected | ||
| Red Hat Enterprise Linux 7 | systemd-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | systemd-networkd | Not affected | ||
| Red Hat Enterprise Linux 7 | systemd-python | Not affected | ||
| Red Hat Enterprise Linux 7 | systemd-resolved | Not affected | ||
| Red Hat Enterprise Linux 7 | systemd-sysv | Not affected |
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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://github.com/systemd/systemd/issues/9397
- https://blog.cloudflare.com/dns-encryption-explained/
- https://github.com/systemd/systemd/blob/v243/src/resolve/resolved-dnstls-gnutls.c#L62-L63
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4NLJVOJMB6ANDILRLDZK26YGLYBEPHKY/
- https://security.netapp.com/advisory/ntap-20191122-0002/
- https://github.com/systemd/systemd/pull/13870
- https://github.com/systemd/systemd/blob/v243/man/resolved.conf.xml#L196-L207
- https://github.com/systemd/systemd/blob/v239/man/resolved.conf.xml#L199-L207
- https://tools.ietf.org/html/rfc7858#section-4.1
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.