advanced-web-developer-bootcamp-notes-examples-and-exercises icon indicating copy to clipboard operation
advanced-web-developer-bootcamp-notes-examples-and-exercises copied to clipboard

CVE-2024-28863 (Medium) detected in tar-4.4.4.tgz, tar-4.4.1.tgz

Open mend-bolt-for-github[bot] opened this issue 1 year ago • 0 comments

CVE-2024-28863 - Medium Severity Vulnerability

Vulnerable Libraries - tar-4.4.4.tgz, tar-4.4.1.tgz

tar-4.4.4.tgz

tar for node

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

Path to dependency file: /Section34-37-Warbler-Final-Project/warbler/warbler-server/package.json

Path to vulnerable library: /Section34-37-Warbler-Final-Project/warbler/warbler-server/node_modules/bcrypt/node_modules/tar/package.json

Dependency Hierarchy:

  • bcrypt-3.0.0.tgz (Root Library)
    • node-pre-gyp-0.10.2.tgz
      • :x: tar-4.4.4.tgz (Vulnerable Library)
tar-4.4.1.tgz

tar for node

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

Path to dependency file: /Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/package.json

Path to vulnerable library: /Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/package.json,/Section26-Create-React-App-and-Props/recipe-props-starter/package.json,/Section33-In-Depth-Redux-Code-Walkthrough/react-redux-todos/package.json,/Section27-State/update-complex-state/package.json,/Section30-Building-A-FullStack-App-With-React/fullstack-todo-app/todos-react-frontent/package.json,/Section26-Create-React-App-and-Props/helloworld/package.json,/Section27-State/random-boxes-starter/package.json,/Section27-State/pass-state-to-props-demo/package.json,/Section34-37-Warbler-Final-Project/warbler/warbler-client/package.json,/Section29-Component-LifeCycle-Methods/flag-guessing-game/package.json,/Section29-Component-LifeCycle-Methods/hacker-news/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/recipe-app-with-state/package.json

Dependency Hierarchy:

  • react-scripts-1.1.4.tgz (Root Library)
    • fsevents-1.2.4.tgz
      • node-pre-gyp-0.10.0.tgz
        • :x: tar-4.4.1.tgz (Vulnerable Library)

Found in HEAD commit: d80f181a2f4dd1169fbef38813309ffdd4ad82d4

Found in base branch: master

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: https://github.com/isaacs/node-tar/security/advisories/GHSA-f5x3-32g6-xq36

Release Date: 2024-03-21

Fix Resolution: tar - 6.2.1


Step up your Open Source Security Game with Mend here