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

nx-20.4.0.tgz: 2 vulnerabilities (highest severity is: 7.5) #500

Open
mend-bolt-for-github bot opened this issue Feb 1, 2025 · 0 comments
Open

nx-20.4.0.tgz: 2 vulnerabilities (highest severity is: 7.5) #500

mend-bolt-for-github bot opened this issue Feb 1, 2025 · 0 comments

Comments

@mend-bolt-for-github
Copy link
Contributor

Vulnerable Library - nx-20.4.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Found in HEAD commit: 7d7814ade5a4840544705fd031c0e4c65e4a7c05

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (nx version) Remediation Possible**
CVE-2024-39338 High 7.5 axios-1.7.2.tgz Transitive N/A*
CVE-2024-57965 Low 0.0 axios-1.7.2.tgz 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-39338

Vulnerable Library - axios-1.7.2.tgz

Library home page: https://registry.npmjs.org/axios/-/axios-1.7.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • nx-20.4.0.tgz (Root Library)
    • axios-1.7.2.tgz (Vulnerable Library)

Found in HEAD commit: 7d7814ade5a4840544705fd031c0e4c65e4a7c05

Found in base branch: main

Vulnerability Details

axios 1.7.2 allows SSRF via unexpected behavior where requests for path relative URLs get processed as protocol relative URLs.

Publish Date: 2024-08-09

URL: CVE-2024-39338

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: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-8hc4-vh64-cxmj

Release Date: 2024-08-09

Fix Resolution: axios - 1.7.4

Step up your Open Source Security Game with Mend here

CVE-2024-57965

Vulnerable Library - axios-1.7.2.tgz

Library home page: https://registry.npmjs.org/axios/-/axios-1.7.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • nx-20.4.0.tgz (Root Library)
    • axios-1.7.2.tgz (Vulnerable Library)

Found in HEAD commit: 7d7814ade5a4840544705fd031c0e4c65e4a7c05

Found in base branch: main

Vulnerability Details

In axios before 1.7.8, lib/helpers/isURLSameOrigin.js does not use a URL object when determining an origin, and has a potentially unwanted setAttribute('href',href) call. NOTE: some parties feel that the code change only addresses a warning message from a SAST tool and does not fix a vulnerability.

Publish Date: 2025-01-29

URL: CVE-2024-57965

CVSS 3 Score Details (0.0)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2025-01-29

Fix Resolution: axios - 1.7.8

Step up your Open Source Security Game with Mend here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants