CVE-2025-22870: HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net

Published Mar 7, 2025
·
Updated

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

Other sources

Matching of hosts against proxy patterns can improperly treat an IPv6 zone ID as a hostname component. For example, when the NOPROXY environment variable is set to ".example.com", a request to "[::1%25.example.com]:80 will incorrectly match and not be proxied.

— NVD

Affected Software

67 affected componentsFixes available
Google golang.org/x/net
go/golang.org/x/net<0.36.0
0.36.0
IBM Concert Software<=1.0.0-2.1.0
Microsoft azl3 packer 1.9.5-9<1.9.5-8
1.9.5-8
Microsoft azl3 keda 2.14.1-7<2.14.1-6
2.14.1-6
Microsoft cbl2 keda 2.4.0-29<2.4.0-29
2.4.0-29
Microsoft cbl2 telegraf 1.29.4-16<1.29.4-14
1.29.4-14
Microsoft azl3 telegraf 1.31.0-6<1.31.0-6
1.31.0-6
Microsoft cbl2 git-lfs 3.5.1-5<3.5.1-5
3.5.1-5
Microsoft azl3 influxdb 2.7.5-3<2.7.5-3
2.7.5-3
Microsoft azl3 prometheus-process-exporter 0.8.2-2<0.8.2-2
0.8.2-2
Microsoft azl3 influxdb 2.7.5-5<2.7.5-3
2.7.5-3
Microsoft cbl2 vitess 17.0.7-8<17.0.7-7
17.0.7-7
Microsoft azl3 prometheus-node-exporter 1.7.0-3<1.7.0-3
1.7.0-3
Microsoft azl3 git-lfs 3.6.1-2<3.6.1-2
3.6.1-2
Microsoft azl3 vitess 19.0.4-6<19.0.4-6
19.0.4-6
Microsoft azl3 keda 2.14.1-6<2.14.1-6
2.14.1-6
Microsoft azl3 packer 1.9.5-8<1.9.5-8
1.9.5-8
Microsoft azl3 prometheus 2.45.4-12<2.45.4-12
2.45.4-12
Microsoft azl3 azcopy 10.25.1-4<10.25.1-4
10.25.1-4
Microsoft cbl2 packer 1.9.5-11<1.9.5-11
1.9.5-11
Microsoft cbl2 telegraf 1.29.4-14<1.29.4-14
1.29.4-14
Microsoft cbl2 azcopy 10.25.1-4<10.25.1-4
10.25.1-4
Microsoft cbl2 golang 1.18.8-8<1.18.8-8
1.18.8-8
Microsoft cbl2 azcopy 10.25.1-5<10.25.1-4
10.25.1-4
Microsoft cbl2 vitess 17.0.7-7<17.0.7-7
17.0.7-7
Microsoft cbl2 packer 1.9.5-13<1.9.5-11
1.9.5-11
Microsoft azl3 telegraf 1.31.0-10<1.31.0-6
1.31.0-6
Microsoft azl3 vitess 19.0.4-7<19.0.4-6
19.0.4-6
Microsoft cbl2 golang 1.22.7-4<1.22.7-4
1.22.7-4
Microsoft cbl2 influxdb 2.6.1-22<2.6.1-22
2.6.1-22
Microsoft cbl2 blobfuse2 2.1.2-8
alpine/go<1.23.7-r0
1.23.7-r0
alpine/go<1.24.1-r0
1.24.1-r0
alpine/go<1.24.1-r0
1.24.1-r0
alpine/go<1.24.1-r0
1.24.1-r0
alpine/rclone<1.69.2-r0
1.69.2-r0
alpine/rclone<1.69.2-r0
1.69.2-r0
alpine/rclone<1.69.2-r0
1.69.2-r0
ubuntu/golang-1.10*
ubuntu/golang-1.10*
ubuntu/golang-1.6*
ubuntu/golang-1.13*
ubuntu/golang-1.18*
ubuntu/golang-1.10*
ubuntu/golang-1.13*
ubuntu/golang-1.16*
ubuntu/golang-1.18*
ubuntu/golang-1.8*
ubuntu/golang-1.13*
ubuntu/golang-1.16*
ubuntu/golang-1.18*
ubuntu/golang-1.22*
ubuntu/golang-1.17*
ubuntu/golang-1.22<1.22.2-2~22.04.3
1.22.2-2~22.04.3
ubuntu/golang-1.23*
ubuntu/golang-1.24*
ubuntu/golang-1.13*
ubuntu/golang-1.21*
ubuntu/golang-1.22<1.22.2-2ubuntu0.4
1.22.2-2ubuntu0.4
ubuntu/golang-1.23*
ubuntu/golang-1.23*
ubuntu/golang-1.24*
ubuntu/golang-1.24*
debian/golang-1.19<=1.19.8-2
debian/golang-1.24
1.24.1-1
debian/golang-1.23
1.23.7-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/golang.org/x/net to a version that resolves this vulnerability.

    Fixed in 0.36.0
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.9.5-8
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.14.1-6
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.4.0-29
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.29.4-14
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.31.0-6
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.5.1-5
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.7.5-3
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.8.2-2
  10. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 17.0.7-7
  11. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.7.0-3
  12. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.6.1-2
  13. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 19.0.4-6
  14. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.45.4-12
  15. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.25.1-4
  16. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.9.5-11
  17. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.18.8-8
  18. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.22.7-4
  19. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.6.1-22
  20. Upgrade

    Upgrade alpine/go to a version that resolves this vulnerability.

    Fixed in 1.23.7-r0
  21. Upgrade

    Upgrade alpine/go to a version that resolves this vulnerability.

    Fixed in 1.24.1-r0
  22. Upgrade

    Upgrade alpine/rclone to a version that resolves this vulnerability.

    Fixed in 1.69.2-r0
  23. Upgrade

    Upgrade ubuntu/golang-1.22 to a version that resolves this vulnerability.

    Fixed in 1.22.2-2~22.04.3
  24. Upgrade

    Upgrade ubuntu/golang-1.22 to a version that resolves this vulnerability.

    Fixed in 1.22.2-2ubuntu0.4
  25. Upgrade

    Upgrade debian/golang-1.24 to a version that resolves this vulnerability.

    Fixed in 1.24.1-1
  26. Upgrade

    Upgrade debian/golang-1.23 to a version that resolves this vulnerability.

    Fixed in 1.23.7-1

Event History

Mar 12, 2025
CVE Published
via MITRE·06:27 PM
Data Sourced
via MITRE·06:27 PM
DescriptionWeakness
Data Sourced
via OSV·07:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:15 PM
Description
Data Sourced
via Red Hat·09:41 PM
DescriptionSeverityAffected Software
Advisory Published
via GitHub·10:06 PM
Data Sourced
via GitHub·10:06 PM
DescriptionWeaknessAffected Software
Advisory Published
via GitHub·10:06 PM
Mar 18, 2025
Data Sourced
via NVD·05:15 PM
SeverityWeakness
Mar 19, 2025
Data Sourced
via GitHub·03:36 PM
Severity
Updated
via GitHub·03:36 PM
Weakness
Mar 27, 2025
Data Sourced
via Microsoft·12:00 AM
DescriptionSeverityWeaknessAffected Software
May 2, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Jun 8, 2025
Exploit Published
via GitHub·12:40 AM
Jul 29, 2025
Updated
via IBM·12:00 AM
Affected Software
Aug 17, 2025
Updated
via IBM·12:00 AM
Affected Software
Aug 19, 2025
Updated
via IBM·12:00 AM
Affected Software
Sep 8, 2025
Updated
via IBM·12:00 AM
Affected Software
Sep 11, 2025
Updated
via IBM·12:00 AM
Affected Software
Sep 26, 2025
Updated
via IBM·12:00 AM
Affected Software
Jan 21, 2026
Updated
via IBM·12:00 AM
Affected Software
Jan 30, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 17, 2026
Updated
via OSV·06:21 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-22870?

CVE-2025-22870 is classified as a moderate severity vulnerability due to improper handling of IPv6 zone IDs in proxy pattern matching.

2

How do I fix CVE-2025-22870?

To fix CVE-2025-22870, update to the latest version of the golang.org/x/net package where the issue has been addressed.

3

What types of systems are affected by CVE-2025-22870?

CVE-2025-22870 affects systems using the Golang library, specifically those making use of proxy settings with IPv6 addresses.

4

What kind of attacks can occur due to CVE-2025-22870?

Exploitation of CVE-2025-22870 could lead to sensitive information being leaked or improper access control in applications that rely on proxy configurations.

5

Is it safe to use the NO_PROXY environment variable with CVE-2025-22870?

Using the NO_PROXY environment variable in environments affected by CVE-2025-22870 can lead to unintended behavior, making it unsafe until the vulnerability is mitigated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203