All CVEs / Go standard library
CVE-2025-22870Go standard library net/http
Medium 4.4
Follow: this CVE · Go standard library · Go standard library net/http We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.1
- 4.4
- EPSS
- —
- Auth required
- Yes
- Published
- Mar 12, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-115
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
What happens
Matching of hosts against proxy patterns can improperly treat an IPv6 zone ID as a hostname component. For example, when the NO_PROXY environment variable is set to "*.example.com", a request to "[::1%25.example.com]:80` will incorrectly match and not be proxied.
What to do
- Apply the vendor's security update for net/http.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | golang.org/x/net |
< 0.36.0 |
0.36.0 |
go get golang.org/x/net@v0.36.0 |
| Go | golang.org/x/net |
< 0.36.0 |
0.36.0 |
go get golang.org/x/net@v0.36.0 |
| Go | stdlib |
< 1.23.7 |
1.23.7 |
go get stdlib@v1.23.7 |
| Go | stdlib |
≥ 1.24.0-0 < 1.24.1 |
1.24.1 |
go get stdlib@v1.24.1 |
Per OSV / GitHub Advisories (GHSA-qxp5-gwg8-xv66, GO-2025-3503). Check the version in your lockfile before upgrading.
Affected products
- Go standard library · net/http
- golang.org/x/net · golang.org/x/net/http/httpproxy
- golang.org/x/net · golang.org/x/net/proxy
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for prometheus-blackbox_exporter · SUSE · openSUSE-SU-2026:22026-1 · Oct 6, 2026 Critical
- Security update for containerized-data-importer1.65 · SUSE · openSUSE-SU-2026:21824-1 · Sep 9, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Also: SUSE (+16)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.