commit | cde1dda944dcf6350753df966bb5bda87a544842 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Tue Jan 21 16:36:50 2025 -0800 |
committer | Gopher Robot <gobot@golang.org> | Tue Mar 04 11:00:06 2025 -0800 |
tree | 7f963f0d083f8ba5437114cf0cab172b9d217ead | |
parent | fe7f0391aa994a401c82d829183c1efab7a64df4 [diff] |
proxy, http/httpproxy: do not mismatch IPv6 zone ids against hosts 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 #71984 Change-Id: I0c4fdf18765decc27e6ddf220ebe3a9bf4a6454d Reviewed-on: https://go-review.googlesource.com/c/net/+/654697 Auto-Submit: Roland Shoemaker <roland@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Roland Shoemaker <roland@golang.org> Reviewed-by: Roland Shoemaker <roland@golang.org> Reviewed-by: Damien Neil <dneil@google.com>
This repository holds supplementary Go networking packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/net.
The main issue tracker for the net repository is located at https://go.dev/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.