FlawAtlas
Search the atlas
CVE-2022-46153 Moderate

Traefik routes exposed with an empty TLSOption in github.com/traefik/traefik

Traefik routes exposed with an empty TLSOption in github.com/traefik/traefik

Exploit probability 0.5%
Published August 21, 2024
Required by Not available
Last source change August 7, 2026

02 / AFFECTED SOFTWARE

Affected packages

Go github.com/traefik/traefik/v2
Go github.com/traefik/traefik
Go github.com/traefik/traefik/v2
Unknown Unknown

203 explicit affected versions

03 / CONNECTIONS

Connected vulnerabilities

04 / EVIDENCE

Source records

Open Source Vulnerabilities CVE-2022-46153

Traefik is an open source HTTP reverse proxy and load balancer. In affected versions there is a potential vulnerability in Traefik managing 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. Users are advised to upgrade to version 2.9.6. Users unable to upgrade should check their logs to detect the error messages and fix your TLS options.

View original source
Open Source Vulnerabilities GHSA-468w-8x39-gj5v

## Impact There is a potential vulnerability in Traefik managing the TLS connections. A router configured with a not well-formatted [TLSOption](https://doc.traefik.io/traefik/v2.9/https/tls/#tls-options) 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: - Empty CA: ``` {"level":"error","msg":"invalid clientAuthType: RequireAndVerifyClientCert, CAFiles is required","routerName":"Router0@file"} ``` - Bad CA content (or bad path): ``` {"level":"error","msg":"invalid certificate(s) content","routerName":"Router0@file"} ``` - Unknown Client Auth Type: ``` {"level":"error","msg":"unknown client auth type \"FooClientAuthType\"","routerName":"Router0@file"} ``` - Invalid cipherSuites ``` {"level":"error","msg":"invalid CipherSuite: foobar","routerName":"Router0@file"} ``` - Invalid curvePreferences ``` {"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](https://github.com/traefik/traefik/issues).

View original source
Open Source Vulnerabilities GO-2022-1152

Traefik routes exposed with an empty TLSOption in github.com/traefik/traefik

View original source

05 / REFERENCES

Further evidence