Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github.com/hashicorp/terraform-plugin-sdk/v2-v2.33.0: 1 vulnerabilities (highest severity is: 7.5) - autoclosed #229

Closed
mend-for-github-com bot opened this issue Dec 26, 2024 · 2 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

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

Path to dependency file: /go.mod

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

Found in HEAD commit: ffcc0ec45e80bc4d7ba589f8cd93f151497550b1

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (github.com/hashicorp/terraform-plugin-sdk/v2-v2.33.0 version) Remediation Possible**
CVE-2024-45338 High 7.5 golang.org/x/net-v0.25.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-2024-45338

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

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

Dependency Hierarchy:

  • github.com/hashicorp/terraform-plugin-sdk/v2-v2.33.0 (Root Library)
    • github.com/hashicorp/terraform-plugin-go-v0.22.2
      • github.com/hashicorp/terraform-registry-address-v0.2.3
        • golang.org/x/net-v0.25.0 (Vulnerable Library)

Found in HEAD commit: ffcc0ec45e80bc4d7ba589f8cd93f151497550b1

Found in base branch: main

Vulnerability Details

An attacker can craft an input to the Parse functions that would be processed non-linearly with respect to its length, resulting in extremely slow parsing. This could cause a denial of service.

Publish Date: 2024-12-18

URL: CVE-2024-45338

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

Release Date: 2024-12-18

Fix Resolution: github.com/golang/net-v0.33.0

@prudhvigodithi
Copy link
Member

[Triage]
The go.mod file should be updated https://github.com/opensearch-project/terraform-provider-opensearch/blob/main/go.mod#L63 to remove the dependency.
@Divyaasm

@prudhvigodithi prudhvigodithi mentioned this issue Feb 11, 2025
@mend-for-github-com mend-for-github-com bot changed the title github.com/hashicorp/terraform-plugin-sdk/v2-v2.33.0: 1 vulnerabilities (highest severity is: 7.5) github.com/hashicorp/terraform-plugin-sdk/v2-v2.33.0: 1 vulnerabilities (highest severity is: 7.5) - autoclosed Feb 11, 2025
Copy link
Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Engineering Effectiveness Board Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
Status: ✅ Done
Development

No branches or pull requests

1 participant