GHSA-7jmw-8259-q9jx Traefik has unexpected behavior with IPv4-mapped IPv6 addresses
Traefik incorrectly handles IPv4-mapped IPv6 addresses, allowing attackers to bypass IP-based access controls or security filters.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-7jmw-8259-q9jx?
GHSA-7jmw-8259-q9jx is a vulnerability in github.com/traefik/traefik, published on 11 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Impact
There is a vulnerability in Go managing various Is methods (IsPrivate, IsLoopback, etc) for IPv4-mapped IPv6 addresses.
They didn't work as expected returning false for addresses which would return true in their traditional IPv4 forms.
References
Patches
- https://github.com/traefik/traefik/releases/tag/v2.11.4
- https://github.com/traefik/traefik/releases/tag/v3.0.2
Workarounds
No workaround.
For more information
If you have any questions or comments about this advisory, please open an issue.
Which versions are affected by GHSA-7jmw-8259-q9jx?
9 open source packages ship an affected version, including github.com/traefik/traefik, github.com/traefik/traefik/v2 and github.com/traefik/traefik/v3.
| Package | Affected | Fixed in |
|---|---|---|
github.com/traefik/traefik Go | All versions | None |
github.com/traefik/traefik Go | All versions | 2.11.4 |
github.com/traefik/traefik Go | All versions | 2.11.4 |
github.com/traefik/traefik/v2 Go | All versions | 2.11.4 |
github.com/traefik/traefik/v2 Go | All versions | 2.11.4 |
github.com/traefik/traefik/v2 Go | All versions | 2.11.4 |
3 more packages
github.com/traefik/traefik/v3 Go | From 3.0.0-beta3 | 3.0.2 |
github.com/traefik/traefik/v3 Go | From 3.0.0-beta3 | 3.0.2 |
github.com/traefik/traefik/v3 Go | From 3.0.0-beta3 | 3.0.2 |
How do I fix GHSA-7jmw-8259-q9jx?
Upgrade github.com/traefik/traefik to 2.11.4 or later.
Is GHSA-7jmw-8259-q9jx being exploited?
There is no known exploitation of GHSA-7jmw-8259-q9jx in the wild and no public exploit code.
Sources
Also known as GO-2024-2917.