Skip to content
OpenAdvisories
Medium · 4.8 CVE-2023-47106 EUVD-2023-3201GHSA-fvhj-4qfh-q2hmGO-2023-2376

Incorrect processing of fragment in the URL leads to Authorization Bypass in Traefik

Published Dec 4, 2023 · Updated Aug 2, 2024 · Assigned by GitHub_M

Description

Traefik is an open source HTTP reverse proxy and load balancer. When a request is sent to Traefik with a URL fragment, Traefik automatically URL encodes and forwards the fragment to the backend server. This violates RFC 7230 because in the origin-form the URL should only contain the absolute path and the query. When this is combined with another frontend proxy like Nginx, it can be used to bypass frontend proxy URI-based access control restrictions. This vulnerability has been addressed in versions 2.10.6 and 3.0.0-beta5. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected products

VendorProductAffectedFixed
traefik traefik < 2.10.6, >= 3.0.0-beta1, < 3.0.0-beta5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed traefik 2.10.7-1.1 openSUSE-SU-2024:13506-1
openSUSE Tumbleweed traefik2 2.11.5-1.1 openSUSE-SU-2024:14076-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/traefik/traefik all versions — GO-2023-2376
Go github.com/traefik/traefik/v2 < 2.10.6 2.10.6 GHSA-fvhj-4qfh-q2hm
Go github.com/traefik/traefik/v3 < 3.0.0-beta5 3.0.0-beta5 GHSA-fvhj-4qfh-q2hm

Advisories 2

References