github.com/traefik/traefik/v2
Affected
- introduced
0, fixed2.9.6(semver)
Fixed versions
2.9.6
Fix
- Fixed version
2.9.6go get github.com/traefik/traefik/[email protected]
Advisory
Also known as: CVE-2022-46153, GO-2022-1152
Traefik routes exposed with an empty TLSOption
Impact
There is a potential vulnerability in Traefik managing the TLS connections.
A router configured with a not well-formatted TLSOption is exposed with an empty TLSOption.
For instance, a route secured using an mTLS connection set with a wrong CA file is exposed without verifying the client certificates.
Patches
https://github.com/traefik/traefik/releases/tag/v2.9.6
Workarounds
Check the logs to detect the following error messages and fix your TLS options:
{"level":"error","msg":"invalid clientAuthType: RequireAndVerifyClientCert, CAFiles is required","routerName":"Router0@file"}
{"level":"error","msg":"invalid certificate(s) content","routerName":"Router0@file"}
{"level":"error","msg":"unknown client auth type \"FooClientAuthType\"","routerName":"Router0@file"}
{"level":"error","msg":"invalid CipherSuite: foobar","routerName":"Router0@file"}
{"level":"error","msg":"invalid CurveID in curvePreferences: foobar","routerName":"Router0@file"}
For more information
If you have any questions or comments about this advisory, please open an issue.
Medium Basis: The source's own band: MODERATE
0, fixed 2.9.6 (semver)2.9.6
2.9.6go 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