Vulnerability Name:

CVE-2018-21029 (CCN-170762)

Assigned:2018-06-24
Published:2018-06-24
Updated:2022-07-08
Summary:** DISPUTED ** 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).
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.6 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
8.1 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
7.1 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.6 High (CCN CVSS v2 Vector: AV:N/AC:H/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): High
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-295
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2018-21029

Source: MISC
Type: Third Party Advisory
https://blog.cloudflare.com/dns-encryption-explained/

Source: XF
Type: UNKNOWN
systemd-cve201821029-weak-security(170762)

Source: MISC
Type: Exploit, Third Party Advisory
https://github.com/systemd/systemd/blob/v239/man/resolved.conf.xml#L199-L207

Source: MISC
Type: Exploit, Third Party Advisory
https://github.com/systemd/systemd/blob/v243/man/resolved.conf.xml#L196-L207

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/systemd/systemd/blob/v243/src/resolve/resolved-dnstls-gnutls.c#L62-L63

Source: CCN
Type: systemd GIT Repository
RFE: Certificate checking for Resolveds DNS over TLS feature #9397

Source: MISC
Type: Issue Tracking, Third Party Advisory
https://github.com/systemd/systemd/issues/9397

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/systemd/systemd/pull/13870

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2019-4c3ce3aa5c

Source: CONFIRM
Type: Third Party Advisory
https://security.netapp.com/advisory/ntap-20191122-0002/

Source: MISC
Type: Third Party Advisory
https://tools.ietf.org/html/rfc7858#section-4.1

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2018-21029

Vulnerable Configuration:Configuration 1:
  • cpe:/a:systemd_project:systemd:*:*:*:*:*:*:*:* (Version >= 239 and < 244)

  • Configuration 2:
  • cpe:/o:fedoraproject:fedora:31:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:systemd_project:systemd:239:*:*:*:*:*:*:*
  • OR cpe:/a:systemd_project:systemd:243:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:7678
    P
    libsystemd0-249.16-150400.8.25.7 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:3086
    P
    gnome-shell-search-provider-nautilus-3.20.3-23.12.10 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:94716
    P
    libsystemd0-249.11-150400.6.8 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:206
    P
    libsystemd0-246.13-5.1 on GA media (Moderate)
    2022-06-13
    oval:org.opensuse.security:def:112864
    P
    libsystemd0-249.4-2.2 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:1135
    P
    Security update for binutils (Moderate)
    2021-11-09
    oval:org.opensuse.security:def:106325
    P
    libsystemd0-249.4-2.2 on GA media (Moderate)
    2021-10-01
    oval:org.opensuse.security:def:62224
    P
    libsystemd0-246.13-5.1 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:71965
    P
    libsystemd0-246.13-5.1 on GA media (Moderate)
    2021-08-09
    oval:com.ubuntu.disco:def:2018210290000000
    V
    CVE-2018-21029 on Ubuntu 19.04 (disco) - low.
    2019-10-30
    oval:com.ubuntu.bionic:def:2018210290000000
    V
    CVE-2018-21029 on Ubuntu 18.04 LTS (bionic) - medium.
    2019-10-30
    oval:com.ubuntu.xenial:def:2018210290000000
    V
    CVE-2018-21029 on Ubuntu 16.04 LTS (xenial) - medium.
    2019-10-30
    BACK
    systemd_project systemd *
    fedoraproject fedora 31
    systemd_project systemd 239
    systemd_project systemd 243