Improper Control of Resources Affecting github.com/traefik/traefik/v2/pkg/middlewares/auth package, versions <2.4.13


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.25% (66th 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-GITHUBCOMTRAEFIKTRAEFIKV2PKGMIDDLEWARESAUTH-1536535
  • published 4 Aug 2021
  • disclosed 4 Aug 2021
  • credit Unknown

How to fix?

Upgrade github.com/traefik/traefik/v2/pkg/middlewares/auth to version 2.4.13 or higher.

Overview

github.com/traefik/traefik/v2/pkg/middlewares/auth is a Cloud Native Application Proxy.

Affected versions of this package are vulnerable to Improper Control of Resources via the handling of the Connection header. If an attacker has a chain of Traefik middlewares, and one of them sets a request header, then sending a request with a certain Connection header will cause it to be removed before the request is sent. In this case, the backend does not see the request header.

Active exploitation of this issue is unlikely, as it requires that a removed header would lead to a privilege escalation.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
3.1 low
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

NVD

8.1 high