CVE-2022-23632 Traefik skips the router TLS configuration when the host header is an FQDN

High 7.4 Published Updated

Traefik may apply incorrect TLS configurations when handling FQDN host headers, potentially bypassing intended security settings.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-23632?

CVE-2022-23632 is a high-severity vulnerability in Oracle Communications Unified Inventory Management, published on 17 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-295

Which versions are affected by CVE-2022-23632?

4 open source packages ship an affected version, including github.com/traefik/traefik/v2 and github.com/traefik/traefik. It affects 2 products.

PackageAffectedFixed in
github.com/traefik/traefik/v2 GoAll versions2.6.1
github.com/traefik/traefik/v2 GoAll versions2.6.1
github.com/traefik/traefik/v2 GoAll versions2.6.1
github.com/traefik/traefik GoAll versionsNone

Products include Oracle Communications Unified Inventory Management, Traefik Traefik.

How do I fix CVE-2022-23632?

Upgrade github.com/traefik/traefik/v2 to 2.6.1 or later.

Is CVE-2022-23632 being exploited?

There is no known exploitation of CVE-2022-23632 in the wild and no public exploit code.

All Oracle Communications Unified Inventory Management vulnerabilities

Sources

Also known as ECHO-066f-5a18-8f31, GHSA-hrhx-6h34-j5hc, GO-2022-0325.

Is CVE-2022-23632 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free