terraform-provider-opensearch icon indicating copy to clipboard operation
terraform-provider-opensearch copied to clipboard

github.com/hashicorp/terraform-plugin-sdk/v2-v2.36.0: 2 vulnerabilities (highest severity is: 7.5)

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

Vulnerable Library - github.com/hashicorp/terraform-plugin-sdk/v2-v2.36.0

Path to dependency file: /go.mod

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

Found in HEAD commit: b10ee13311549eb62853813f084edb29abafbe61

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (github.com/hashicorp/terraform-plugin-sdk/v2-v2.36.0 version) Remediation Possible**
CVE-2025-22869 High 7.5 golang.org/x/crypto-v0.32.0 Transitive N/A*
CVE-2025-22870 Medium 4.4 golang.org/x/net-v0.34.0 Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2025-22869

Vulnerable Library - golang.org/x/crypto-v0.32.0

Library home page: https://proxy.golang.org/golang.org/x/crypto/@v/v0.32.0.zip

Path to dependency file: /go.mod

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

Dependency Hierarchy:

  • github.com/hashicorp/terraform-plugin-sdk/v2-v2.36.0 (Root Library)
    • :x: golang.org/x/crypto-v0.32.0 (Vulnerable Library)

Found in HEAD commit: b10ee13311549eb62853813f084edb29abafbe61

Found in base branch: main

Vulnerability Details

SSH servers which implement file transfer protocols are vulnerable to a denial of service attack from clients which complete the key exchange slowly, or not at all, causing pending content to be read into memory, but never transmitted.

Publish Date: 2025-02-26

URL: CVE-2025-22869

CVSS 3 Score Details (7.5)

Base Score Metrics:

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

Suggested Fix

Type: Upgrade version

Origin: https://pkg.go.dev/vuln/GO-2025-3487

Release Date: 2025-02-26

Fix Resolution: v0.35.0

CVE-2025-22870

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

Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.34.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.34.0.mod

Dependency Hierarchy:

  • github.com/hashicorp/terraform-plugin-sdk/v2-v2.36.0 (Root Library)
    • github.com/hashicorp/go-plugin-v1.6.2
      • google.golang.org/grpc-v1.69.4
        • :x: golang.org/x/net-v0.34.0 (Vulnerable Library)

Found in HEAD commit: b10ee13311549eb62853813f084edb29abafbe61

Found in base branch: main

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.24.1