Live threats

All CVEs / Go standard library

CVE-2025-22870Go standard library net/http

Medium 4.4

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for net/http.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

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.