CVE-2018-21246
NixOS vulnerability analysis and mitigation

Overview

Caddy before version 0.10.13 contains a security vulnerability (CVE-2018-21246) that mishandles TLS client authentication. The vulnerability allows for an authentication bypass due to the lack of StrictHostMatching mode (NVD, MITRE). The issue was discovered and disclosed in June 2020.

Technical details

The vulnerability has a CVSS v3.1 Base Score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The issue stems from improper authentication (CWE-287) in the TLS client authentication implementation. The vulnerability specifically relates to the absence of StrictHostMatching mode in the TLS configuration (NVD).

Impact

The vulnerability allows attackers to bypass TLS client authentication mechanisms, potentially gaining unauthorized access to protected resources. Given the CVSS score of 9.8, this represents a critical security risk with potential for high impact on confidentiality, integrity, and availability of the affected system (NVD).

Exploitability

The vulnerability is exploitable remotely without requiring privileges or user interaction. The attack complexity is low, making it relatively straightforward to exploit in environments where TLS client authentication is relied upon for security (NVD).

Mitigation and workarounds

The vulnerability was fixed in Caddy version 0.10.13 with the introduction of StrictHostMatching mode for TLS client authentication. Users should upgrade to version 0.10.13 or later to address this security issue (Caddy Release).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox
NoYesAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management