CVE-2022-23632CWE-295

Traefik skips the router TLS configuration when the host header is an FQDN

High · published February 17, 2022

CVSS v3.1
7.4
EPSS
2%
Percentile
77.2
In the wild
Unconfirmed
What it is

Traefik is an HTTP reverse proxy and load balancer. Prior to version 2.6.1, Traefik skips the router transport layer security (TLS) configuration when the host header is a fully qualified domain name (FQDN). For a request, the TLS configuration choice can be different than the router choice, which implies the use of a wrong TLS configuration. When sending a request using FQDN handled by a router configured with a dedicated TLS configuration, the TLS configuration falls back to the default configuration that might not correspond to the configured one. If the CNAME flattening is enabled, the selected TLS configuration is the SNI one and the routing uses the CNAME value, so this can skip the expected TLS configuration. Version 2.6.1 contains a patch for this issue. As a workaround, one may add the FDQN to the host rule. However, there is no workaround if the CNAME flattening is enabled.

The record
Technical detail
CVSS v3.1
7.4 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.01714 · 77.2th percentile
Weakness
CWE-295 · Improper Certificate Validation
Published
2022-02-17T14:55Z
EPSS history
Timeline
  • 17 FEB 14:55Z
    Traefik skips the router TLS configuration when the host header is an FQDN
    cvelistv5