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

node-pre-gyp-0.15.0.tgz: 1 vulnerabilities (highest severity is: 6.5) - autoclosed #12

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

Comments

@mend-for-github-com
Copy link

Vulnerable Library - node-pre-gyp-0.15.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/node-pre-gyp/node_modules/tar/package.json

Found in HEAD commit: b4c15db43fe011827418195d9fa518c88d06e54d

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (node-pre-gyp version) Remediation Possible**
CVE-2024-28863 Medium 6.5 tar-4.4.19.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-28863

Vulnerable Library - tar-4.4.19.tgz

tar for node

Library home page: https://registry.npmjs.org/tar/-/tar-4.4.19.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/node-pre-gyp/node_modules/tar/package.json

Dependency Hierarchy:

  • node-pre-gyp-0.15.0.tgz (Root Library)
    • tar-4.4.19.tgz (Vulnerable Library)

Found in HEAD commit: b4c15db43fe011827418195d9fa518c88d06e54d

Found in base branch: main

Vulnerability Details

node-tar is a Tar for Node.js. node-tar prior to version 6.2.1 has no limit on the number of sub-folders created in the folder creation process. An attacker who generates a large number of sub-folders can consume memory on the system running node-tar and even crash the Node.js client within few seconds of running it using a path with too many sub-folders inside. Version 6.2.1 fixes this issue by preventing extraction in excessively deep sub-folders.

Publish Date: 2024-03-21

URL: CVE-2024-28863

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-f5x3-32g6-xq36

Release Date: 2024-03-21

Fix Resolution: tar - 6.2.1

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Jul 16, 2024
@mend-for-github-com mend-for-github-com bot changed the title node-pre-gyp-0.15.0.tgz: 1 vulnerabilities (highest severity is: 6.5) node-pre-gyp-0.15.0.tgz: 1 vulnerabilities (highest severity is: 6.5) - autoclosed Jul 16, 2024
Copy link
Author

ℹ️ This issue was automatically closed by Mend because it is a duplicate of an existing issue: #13

1 similar comment
Copy link
Author

ℹ️ This issue was automatically closed by Mend because it is a duplicate of an existing issue: #13

@mend-for-github-com mend-for-github-com bot changed the title node-pre-gyp-0.15.0.tgz: 1 vulnerabilities (highest severity is: 6.5) node-pre-gyp-0.15.0.tgz: 1 vulnerabilities (highest severity is: 6.5) - autoclosed Jul 16, 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

No branches or pull requests

0 participants