Advisory

GO-2025-3503

Also known as: CVE-2025-22870, GHSA-qxp5-gwg8-xv66

Summary

HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net

Details

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.

Severity

Not rated by the source.

Dates

Published
2025-03-12 18:17 UTC
Modified
2026-04-16 22:45 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.23.7, introduced 1.24.0-0, fixed 1.24.1 (semver)

Fixed versions

1.23.7, 1.24.1

Fix

The export has no generic command for this ecosystem.

golang.org/x/net

Go · All systems

Affected

  • introduced 0, fixed 0.36.0 (semver)

Fixed versions

0.36.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences