trivrost icon indicating copy to clipboard operation
trivrost copied to clipboard

CVE-2025-22870 (Medium) detected in golang.org/x/net-v0.35.0

Open mend-bolt-for-github[bot] opened this issue 6 months ago • 0 comments

CVE-2025-22870 - Medium Severity Vulnerability

Vulnerable Library - golang.org/x/net-v0.35.0

Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.35.0.zip

Path to dependency file: /go.mod

Path to vulnerable library: /home/wss-scanner/go/pkg/mod/cache/download/golang.org/x/net/@v/v0.35.0.mod

Dependency Hierarchy:

  • :x: golang.org/x/net-v0.35.0 (Vulnerable Library)

Found in HEAD commit: 4a6c45ae241db18171514deab7bbadd615502031

Found in base branch: master

Vulnerability Details

In Go net/http, x/net/proxy, x/net/http/httpproxy there is a proxy bypass vulnerability using IPv6 zone IDs. Matching of hosts against proxy patterns could improperly treat an IPv6 zone ID as a hostname component. For example, when the NO_PROXY environment variable was set to "*.example.com", a request to "[::1%25.example.com]:80` would incorrectly match and not be proxied. This affects versions before 1.23.7 and 1.24.x before 1.24.1.

Publish Date: 2025-03-12

URL: CVE-2025-22870

CVSS 3 Score Details (4.4)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: None
    • Availability Impact: Low
For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2025-03-12

Fix Resolution: https://github.com/golang/go.git - go1.23.6


Step up your Open Source Security Game with Mend here