CVE-2022-23632: Skip the router TLS configuration when the host header is an FQDN in github.com/traefik/traefik

github.com/traefik/traefik Updated 02 Oct 2025

Summary

21/08/2024
No i
Unrated
Not published

CVE-2022-23632: Skip the router TLS configuration when the host header is an FQDN in github.com/traefik/traefik. Affected versions are not published. No fix is published. How to fix ↓

Also tracked for

The same CVE-2022-23632 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Traefik is an open-source reverse proxy and load balancer that helps in routing HTTP and TCP traffic. It is written in Go and is widely used in various applications and systems. This vulnerability affects the Traefik package, specifically versions 0 and 2.6.0. Traefik allows users to configure TLS (Transport Layer Security) for secure communication. However, when the host header is a fully qualified domain name (FQDN), the router TLS configuration is skipped, leading to potential security risks.

Vulnerability Detail

The vulnerability arises from the improper handling of TLS configuration in Traefik when the host header is an FQDN. This means that when a request is made with an FQDN as the host header, the router TLS configuration is not applied, leaving the communication unencrypted. Attackers can exploit this vulnerability to intercept and manipulate sensitive data transmitted between the client and the server. This can result in unauthorized access, data leakage, and potential compromise of the system.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can modify their Traefik configuration to explicitly include the TLS configuration for routers, even when the host header is an FQDN. This can be achieved by adding the necessary TLS configuration directives in the Traefik configuration file. Here is an example of how to configure TLS for routers in Traefik:

http:
  routers:
    my-router:
      rule: Host(`example.com`)
      tls:
        certResolver: default
        options: Strict
        minVersion: VersionTLS12
        cipherSuites:
          - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
          - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
          - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305

Conclusion

The vulnerability in Traefik allows attackers to bypass TLS configuration when the host header is an FQDN, potentially compromising the security of the system. It is crucial to update to the latest version of Traefik (2.6.1 or above) to mitigate this vulnerability and ensure secure communication.

See every vulnerability recorded for github.com/traefik/traefik →

Share this vulnerability

FAQ

Traefik is an open-source reverse proxy and load balancer written in Go. It is used to route HTTP and TCP traffic in various applications and systems.

TLS (Transport Layer Security) is a cryptographic protocol used to secure communication over a network. It ensures that data transmitted between the client and the server is encrypted and protected from unauthorized access.

This vulnerability allows attackers to intercept and manipulate sensitive data transmitted between the client and the server. It can lead to unauthorized access, data leakage, and potential compromise of the system.

Versions 0 and 2.6.0 of the Traefik package are affected by this vulnerability.

To fix this vulnerability, it is recommended to update the Traefik package to version 2.6.1 or above.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/traefik/traefik.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback