{"id":"CVE-2022-23632","published":"2022-02-17T14:55:10Z","modified":"2025-04-23T19:02:55Z","title":"Traefik skips the router TLS configuration when the host header is an FQDN","vendor":"traefik","product":"traefik","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01714,"percentile":0.77969,"provenance":"source"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"references":[{"url":"https://github.com/traefik/traefik/security/advisories/GHSA-hrhx-6h34-j5hc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/traefik/traefik/pull/8764","tags":["x_refsource_MISC"]},{"url":"https://github.com/traefik/traefik/releases/tag/v2.6.1","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC"]}],"priority":{"score":20.8,"factors":[{"name":"EPSS percentile","points":15.59},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"traefik","affectedVersions":[{"vendor":"traefik","product":"traefik","versions":["< 2.6.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T15:56:00.722307Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/traefik/traefik/v2","vulnerableRanges":["<2.6.1"],"patched":["2.6.1"],"from":["GHSA-hrhx-6h34-j5hc","GO-2022-0325"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/traefik/traefik","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2022-0325"],"provenance":"source"}],"summary":{"text":"The flaw is in Traefik's router TLS handling, where requests using a fully qualified domain name as the Host header skip the router's dedicated TLS configuration and fall back to the default, and when CNAME flattening is enabled the wrong TLS configuration can be applied because routing uses the CNAME value. An attacker with network access can send crafted requests to exploit this, though the attack is considered high complexity and requires no privileges or user interaction, and it can result in the expected TLS configuration being bypassed, with a real risk to confidentiality and integrity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:13:57Z"},"euvd":{"id":"EUVD-2022-1054","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-20894","published":"2020-07-02","fixed":"2.2.2","kev":false},{"cve":"CVE-2020-15129","published":"2020-07-30","fixed":"2.3.0-rc6","kev":false},{"cve":"CVE-2021-32813","published":"2021-08-03","fixed":"2.4.13","kev":false,"link":{"from":"CVE-2021-32813","to":"CVE-2022-23632","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/traefik/traefik/v2","fromFixed":"2.4.13","toFixed":"2.6.1","daysApart":198}]}},{"cve":"CVE-2022-23632","published":"2022-02-17","fixed":"2.6.1","kev":false},{"cve":"CVE-2022-39271","published":"2022-10-11","fixed":"2.9.0-rc5","kev":false,"link":{"from":"CVE-2022-23632","to":"CVE-2022-39271","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/traefik/traefik/v2","fromFixed":"2.6.1","toFixed":"2.8.8","daysApart":236}]}},{"cve":"CVE-2022-23469","published":"2022-12-08","fixed":"2.9.6","kev":false},{"cve":"CVE-2022-46153","published":"2022-12-08","fixed":"2.9.6","kev":false}],"package":"Go:github.com/traefik/traefik/v2"}}