CVE-2018-21029

systemd 239 through 245 accepts any certificate signed by a trusted certificate authority for DNS Over TLS

published October 30, 2019

CVSS
—
EPSS
3%
Percentile
87.7
In the wild
Unconfirmed
What it is

⚠️ An unpatched version of systemd could accept any certificate without checking for the server's identity! Just like a receptionist handing out guest passes without asking for ID, this flaw could let in unauthorized connections. 🔥 Think of it like a hotel that allows anyone to check in as long as they have a fancy-looking badge, but they never verify if it actually belongs to them. Without verifying the hostname, it’s all too easy for a malicious guest to slip through. This can lead to compromised DNS over TLS connections, allowing attackers to potentially eavesdrop on or manipulate network traffic. While it’s not actively exploited, the risk of unauthorized access remains a significant concern for data integrity.

Put simply

Think of it like a hotel that allows anyone to check in as long as they have a fancy-looking badge, but they never verify if it actually belongs to them. Without verifying the hostname, it’s all too easy for a malicious guest to slip through. The vulnerability in systemd (versions 239 to 245) stems from the lack of hostname validation with the GnuTLS backend, which means that any trusted certificate can be accepted without verifying the corresponding server name.

What to do

This can lead to compromised DNS over TLS connections, allowing attackers to potentially eavesdrop on or manipulate network traffic. While it’s not actively exploited, the risk of unauthorized access remains a significant concern for data integrity. To mitigate this, make sure to update systemd to version 246 or later where this issue is resolved. Regularly audit your configurations to ensure that hostname validation is enforced in TLS connections. You've got this! Stay proactive and secure your systems with these updates. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.03138 · 87.7th percentile
Published
2019-10-30T21:46Z
EPSS history
Timeline
  • 30 OCT 21:46Z
    systemd 239 through 245 accepts any certificate signed by a trusted certificate authority for DNS Over TLS
    cvelistv5