Insufficient Verification of Data Authenticity Affecting github.com/traefik/traefik/pkg/middlewares/headers package, versions *


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-GITHUBCOMTRAEFIKTRAEFIKPKGMIDDLEWARESHEADERS-8062139
  • published 20 Sep 2024
  • disclosed 19 Sep 2024
  • credit drolmat

How to fix?

A fix was pushed into the master branch but not yet published.

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