Improper Control of Resources Affecting github.com/traefik/traefik/v2/pkg/middlewares/headers package, versions <2.4.13
Threat Intelligence
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-GITHUBCOMTRAEFIKTRAEFIKV2PKGMIDDLEWARESHEADERS-1536534
- published 4 Aug 2021
- disclosed 4 Aug 2021
- credit Unknown
Introduced: 4 Aug 2021
CVE-2021-32813 Open this link in a new tabHow to fix?
Upgrade github.com/traefik/traefik/v2/pkg/middlewares/headers
to version 2.4.13 or higher.
Overview
github.com/traefik/traefik/v2/pkg/middlewares/headers 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.