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

start-server-and-test-2.0.0.tgz: 2 vulnerabilities (highest severity is: 7.3) #1149

Closed
mend-for-github-com bot opened this issue Nov 14, 2023 · 0 comments · Fixed by #1152
Closed

start-server-and-test-2.0.0.tgz: 2 vulnerabilities (highest severity is: 7.3) #1149

mend-for-github-com bot opened this issue Nov 14, 2023 · 0 comments · Fixed by #1152
Assignees
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Nov 14, 2023

Vulnerable Library - start-server-and-test-2.0.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Found in HEAD commit: da8987297d043a87176cf037aa9b64d781bc29c5

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (start-server-and-test version) Remediation Possible**
CVE-2023-26159 High 7.3 follow-redirects-1.15.2.tgz Transitive 2.0.1
CVE-2023-45857 Medium 6.5 axios-0.27.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-2023-26159

Vulnerable Library - follow-redirects-1.15.2.tgz

HTTP and HTTPS modules that follow redirects.

Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • start-server-and-test-2.0.0.tgz (Root Library)
    • wait-on-7.0.1.tgz
      • axios-0.27.2.tgz
        • follow-redirects-1.15.2.tgz (Vulnerable Library)

Found in HEAD commit: da8987297d043a87176cf037aa9b64d781bc29c5

Found in base branch: main

Vulnerability Details

Versions of the package follow-redirects before 1.15.4 are vulnerable to Improper Input Validation due to the improper handling of URLs by the url.parse() function. When new URL() throws an error, it can be manipulated to misinterpret the hostname. An attacker could exploit this weakness to redirect traffic to a malicious site, potentially leading to information disclosure, phishing attacks, or other security breaches.

Publish Date: 2024-01-02

URL: CVE-2023-26159

CVSS 3 Score Details (7.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2023-26159

Release Date: 2024-01-02

Fix Resolution (follow-redirects): 1.15.4

Direct dependency fix Resolution (start-server-and-test): 2.0.1

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2023-45857

Vulnerable Library - axios-0.27.2.tgz

Promise based HTTP client for the browser and node.js

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

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • start-server-and-test-2.0.0.tgz (Root Library)
    • wait-on-7.0.1.tgz
      • axios-0.27.2.tgz (Vulnerable Library)

Found in HEAD commit: da8987297d043a87176cf037aa9b64d781bc29c5

Found in base branch: main

Vulnerability Details

An issue discovered in Axios 1.5.1 inadvertently reveals the confidential XSRF-TOKEN stored in cookies by including it in the HTTP header X-XSRF-TOKEN for every request made to any host allowing attackers to view sensitive information.

Publish Date: 2023-11-08

URL: CVE-2023-45857

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • 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

Release Date: 2023-11-08

Fix Resolution: axios - 1.6.0


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Nov 14, 2023
@joshuarrrr joshuarrrr self-assigned this Nov 14, 2023
@mend-for-github-com mend-for-github-com bot changed the title start-server-and-test-2.0.0.tgz: 1 vulnerabilities (highest severity is: 7.5) start-server-and-test-2.0.0.tgz: 1 vulnerabilities (highest severity is: 6.5) Dec 11, 2023
@mend-for-github-com mend-for-github-com bot changed the title start-server-and-test-2.0.0.tgz: 1 vulnerabilities (highest severity is: 6.5) start-server-and-test-2.0.0.tgz: 2 vulnerabilities (highest severity is: 7.3) Jan 11, 2024
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
None yet
Development

Successfully merging a pull request may close this issue.

1 participant