GitHub Advisoryadvisory · Go

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

MEDIUM Published 2024-06-11 Modified 2024-06-17 Official page ↗
Ecosystem
Go
Packages
github.com/traefik/traefik/v3, github.com/traefik/traefik/v2, github.com/traefik/traefik
Severity
Moderate
Weaknesses
CWE-180
Reviewed
2024-06-11

Affected packages

• Go github.com/traefik/traefik/v3: >= 3.0.0-beta3, < 3.0.2 → fixed in 3.0.2 • Go github.com/traefik/traefik/v2: < 2.11.4 → fixed in 2.11.4 • Go github.com/traefik/traefik: < 2.11.4 → fixed in 2.11.4

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 • CVE-2024-24790 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.

Related

Weakness · CWE (1)

  • CWE-180 Incorrect Behavior Order: Validate Before Canonicalize weakness

References