Descrizione

Traefik is an HTTP reverse proxy and load balancer. Prior to 2.11.44, 3.6.15, and 3.7.0-rc.3, there is an information disclosure vulnerability in Traefik's errors (custom error pages) middleware. When the backend returns a response matching the configured status range, the middleware forwards the original request's complete header set, including Authorization, Cookie, and other authentication material, to the separate error page service rather than only the minimal context needed to render the error page. This behavior is undocumented: the documentation states only that Host is forwarded by default, so operators are not warned that sensitive credentials are shared across service boundaries. Deployments using the errors middleware with a distinct error page service may inadvertently expose end-user credentials to infrastructure that was not intended to receive them. This vulnerability is fixed in 2.11.44, 3.6.15, and 3.7.0-rc.3.

Testo originale del record CVE (in inglese).

Come correggere

Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.8.

Versioni da aggiornare

  • Traefik Traefik: vulnerabili le versioni precedenti alla 2.11.44 → aggiornare alla 2.11.44 o successiva.
  • Traefik Traefik: vulnerabili le versioni dalla 3.0.0 precedenti alla 3.6.15 → aggiornare alla 3.6.15 o successiva.
  • Traefik Traefik: vulnerabile la versione 3.7.0 ea1 → installare l'ultima release supportata dal vendor.
  • Traefik Traefik: vulnerabile la versione 3.7.0 ea2 → installare l'ultima release supportata dal vendor.
  • Traefik Traefik: vulnerabile la versione 3.7.0 ea3 → installare l'ultima release supportata dal vendor.
  • Traefik Traefik: vulnerabile la versione 3.7.0 rc1 → installare l'ultima release supportata dal vendor.
  • Traefik Traefik: vulnerabile la versione 3.7.0 rc2 → installare l'ultima release supportata dal vendor.

Patch e advisory

Mitigazioni temporanee

Da applicare solo se non è possibile aggiornare subito:

  • Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.

Verifica

  1. Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
  2. Confrontare la versione installata con quelle indicate sopra.
  3. Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
  4. Ripetere la scansione per confermare la correzione.

Configurazioni interessate

VendorProdottoVersioni vulnerabiliCorretta in
Traefik Traefik < 2.11.44 2.11.44
Traefik Traefik ≥ 3.0.0 < 3.6.15 3.6.15
Traefik Traefik 3.7.0 ea1 —
Traefik Traefik 3.7.0 ea2 —
Traefik Traefik 3.7.0 ea3 —
Traefik Traefik 3.7.0 rc1 —
Traefik Traefik 3.7.0 rc2 —

Riferimenti