Insufficient Verification of Data Authenticity Affecting github.com/traefik/traefik/v3/pkg/middlewares/auth package, versions <3.1.3


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.05% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMTRAEFIKTRAEFIKV3PKGMIDDLEWARESAUTH-8062135
  • published 20 Sep 2024
  • disclosed 19 Sep 2024
  • credit drolmat

How to fix?

Upgrade github.com/traefik/traefik/v3/pkg/middlewares/auth to version 3.1.3 or higher.

Overview

Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity through the manipulation of HTTP headers in the HTTP/1.1 protocol. An attacker can alter or remove headers such as X-Forwarded-Host, potentially leading to security implications like access control bypass or data leakage by specifying these headers as hop-by-hop in the Connection header.

Note:

This is only exploitable if the backend application trusts the headers set by Traefik without revalidating them.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
9.3 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    High
  • Integrity (VI)
    High
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None