-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net/http, x/net/proxy, x/net/http/httpproxy: proxy bypass using IPv6 zone IDs #71984
Comments
@gopherbot please open backport issues for this security fix |
Backport issue(s) opened: #71985 (for 1.23), #71986 (for 1.24). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases. |
Change https://go.dev/cl/654717 mentions this issue: |
Change https://go.dev/cl/654795 mentions this issue: |
Change https://go.dev/cl/654796 mentions this issue: |
This is to update module version to the fixed x/net. For #71984 Change-Id: I7d50e302e8ba7d3ee28df2669fc16f19c12cf088 Reviewed-on: https://go-review.googlesource.com/c/go/+/654795 Reviewed-by: Michael Pratt <[email protected]> Auto-Submit: Junyang Shao <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Junyang Shao <[email protected]>
This is to update module version to the fixed x/net. For #71984 Change-Id: I8f4357f14a7d44a782c131eb856b50a103be2f2d Reviewed-on: https://go-review.googlesource.com/c/go/+/654796 Reviewed-by: Junyang Shao <[email protected]> Auto-Submit: Junyang Shao <[email protected]> Reviewed-by: Michael Pratt <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
For #71984 Change-Id: Ic15826f09ea818f8833bd3d979bffaede24d49df Reviewed-on: https://go-review.googlesource.com/c/go/+/654717 Reviewed-by: Michael Pratt <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Junyang Shao <[email protected]>
see golang/go#71984 Signed-off-by: Marco Nenciarini <[email protected]>
See golang/go#71984 Signed-off-by: Marco Nenciarini <[email protected]>
See golang/go#71984 Signed-off-by: Marco Nenciarini <[email protected]>
When matching against a host "example.com", don't match an IPv6 address like "[1000::1%25.example.com]:80". Thanks to Juho Forsén of Mattermost for reporting this issue. Fixes CVE-2025-22870 For golang/go#71984 Fixes [bsc#1238685](https://bugzilla.suse.com/show_bug.cgi?id=1238685)
Matching of hosts against proxy patterns could improperly treat an IPv6 zone ID as a hostname component. For example, when the NO_PROXY environment variable was set to "*.example.com", a request to "[::1%25.example.com]:80` would incorrectly match and not be proxied.
Thanks to Juho Forsén of Mattermost for reporting this issue.
This is CVE-2025-22870
/cc @golang/security and @golang/release
The text was updated successfully, but these errors were encountered: