CVE-2018-21029
systemd: incorrect certificate validation results in acceptance of any certificate signed by a trusted certificate authority for DNS over TLS
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, CBL-Mariner. Plus basse selon Red Hat (moyenne).
Description
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)
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| CBL-Mariner 1.0 | systemd | 0:239-31.cm1 |
| debian 11 | systemd | 244-1 |
| debian 12 | systemd | 244-1 |
| debian 13 | systemd | 244-1 |
| debian 14 | systemd | 244-1 |
| echo | systemd | 244-1 |
| root.io debian 12 | rootio-systemd | 244-1 |
| root.io debian 13 | rootio-systemd | 244-1 |
Références
- https://access.redhat.com/security/cve/CVE-2018-21029
- https://blog.cloudflare.com/dns-encryption-explained/
- https://github.com/systemd/systemd/blob/v239/man/resolved.conf.xml#L199-L207
- https://github.com/systemd/systemd/blob/v243/man/resolved.conf.xml#L196-L207
- https://github.com/systemd/systemd/blob/v243/src/resolve/resolved-dnstls-gnutls.c#L62-L63
- https://github.com/systemd/systemd/issues/9397
- https://github.com/systemd/systemd/pull/13870
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4NLJVOJMB6ANDILRLDZK26YGLYBEPHKY/