Skip to content

Caddy vulnerable to Authentication Bypass due to mishandling of TLS client authentication

Critical severity GitHub Reviewed Published Oct 6, 2022 to the GitHub Advisory Database • Updated Feb 14, 2023

Package

gomod github.com/caddyserver/caddy (Go)

Affected versions

< 0.10.13

Patched versions

0.10.13

Description

Caddy before 0.10.13 mishandles TLS client authentication, as demonstrated by an authentication bypass caused by the lack of the StrictHostMatching mode.

References

Published to the GitHub Advisory Database Oct 6, 2022
Reviewed Oct 6, 2022
Last updated Feb 14, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2018-21246

GHSA ID

GHSA-gr7w-x2jp-3xgw

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.