CVE-2022-23632: Skip the router TLS configuration when the host header is an FQDN
7.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.62042%
CWE
Published
2/16/2022
Updated
1/27/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/traefik/traefik/v2 | go | < 2.6.1 | 2.6.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper TLS configuration selection when the host header is an FQDN (with/without a trailing dot) or when CNAME flattening is enabled. The pull request #8764 indicates fixes in TLS configuration logic to align with routing rules. Functions like getTLSConfig
(TLS selection) and matchSNI
(SNI handling) are critical points where FQDN normalization and CNAME resolution would occur. The workaround requiring explicit FQDN declarations in host rules further suggests the host-matching logic in TLS configuration was not handling these cases correctly.