github.com/traefik/traefik/v2
Affected
- introduced
0, fixed2.6.1(semver)
Fixed versions
2.6.1
Fix
- Fixed version
2.6.1go get github.com/traefik/traefik/[email protected]
Advisory
Also known as: CVE-2022-23632, GO-2022-0325
Skip the router TLS configuration when the host header is an FQDN
Impact
People that configure mTLS between Traefik and clients.
For a request, the TLS configuration choice can be different than the router choice, which implies the use of a wrong TLS configuration.
Patches
Traefik v2.6.x: https://github.com/traefik/traefik/releases/tag/v2.6.1
Workarounds
Add the FDQN to the host rule:
Example:
whoami:
image: traefik/whoami:v1.7.1
labels:
traefik.http.routers.whoami.rule: Host(`whoami.example.com`, `whoami.example.com.`)
traefik.http.routers.whoami.tls: true
traefik.http.routers.whoami.tls.options: mtls@file
There is no workaround if the CNAME flattening is enabled.
For more information
If you have any questions or comments about this advisory, please open an issue.
High Basis: The source's own band: HIGH
0, fixed 2.6.1 (semver)2.6.1
2.6.1go get github.com/traefik/traefik/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0