GHSA-7jmw-8259-q9jx Traefik has unexpected behavior with IPv4-mapped IPv6 addresses

Not scored Published

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

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.

PackageAffectedFixed in
github.com/traefik/traefik GoAll versionsNone
github.com/traefik/traefik GoAll versions2.11.4
github.com/traefik/traefik GoAll versions2.11.4
github.com/traefik/traefik/v2 GoAll versions2.11.4
github.com/traefik/traefik/v2 GoAll versions2.11.4
github.com/traefik/traefik/v2 GoAll versions2.11.4
3 more packages
github.com/traefik/traefik/v3 GoFrom 3.0.0-beta33.0.2
github.com/traefik/traefik/v3 GoFrom 3.0.0-beta33.0.2
github.com/traefik/traefik/v3 GoFrom 3.0.0-beta33.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.

Is GHSA-7jmw-8259-q9jx in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free