-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Vulnerable Library - sharp-0.32.6.tgz
Path to dependency file: /toolbar-app/package.json
Path to vulnerable library: /toolbar-app/package.json,/tutorials/package.json
Vulnerabilities
| Vulnerability | Severity | Dependency | Type | Fixed in (sharp version) | Remediation Possible** | |
|---|---|---|---|---|---|---|
| CVE-2025-59343 | 7.5 | detected in multiple dependencies | Transitive | 0.33.0 | ✅ | |
| CVE-2025-48387 | 7.5 | detected in multiple dependencies | Transitive | N/A* | ❌ | |
| CVE-2024-12905 | 7.5 | detected in multiple dependencies | Transitive | 0.33.0 | ✅ |
*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-2025-59343
Vulnerable Libraries - tar-fs-2.1.1.tgz, tar-fs-3.0.6.tgz
tar-fs-2.1.1.tgz
filesystem bindings for tar-stream
Library home page: https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz
Path to dependency file: /toolbar-app/package.json
Path to vulnerable library: /toolbar-app/package.json,/tutorials/package.json
Dependency Hierarchy:
- sharp-0.32.6.tgz (Root Library)
- prebuild-install-7.1.2.tgz
- ❌ tar-fs-2.1.1.tgz (Vulnerable Library)
- prebuild-install-7.1.2.tgz
tar-fs-3.0.6.tgz
Library home page: https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.6.tgz
Path to dependency file: /toolbar-app/package.json
Path to vulnerable library: /toolbar-app/package.json,/tutorials/package.json
Dependency Hierarchy:
- sharp-0.32.6.tgz (Root Library)
- ❌ tar-fs-3.0.6.tgz (Vulnerable Library)
Found in base branch: main
Vulnerability Details
tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.1.1, 2.1.3, and 1.16.5 are vulnerable to symlink validation bypass if the destination directory is predictable with a specific tarball. This issue has been patched in version 3.1.1, 2.1.4, and 1.16.6. A workaround involves using the ignore option on non files/directories.
Publish Date: 2025-09-24
URL: CVE-2025-59343
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: High
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: GHSA-vj76-c3g6-qr5v
Release Date: 2025-09-24
Fix Resolution (tar-fs): 2.1.4
Direct dependency fix Resolution (sharp): 0.33.0
Fix Resolution (tar-fs): 2.1.4
Direct dependency fix Resolution (sharp): 0.33.0
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2025-48387
Vulnerable Libraries - tar-fs-3.0.6.tgz, tar-fs-2.1.1.tgz
tar-fs-3.0.6.tgz
Library home page: https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.6.tgz
Path to dependency file: /toolbar-app/package.json
Path to vulnerable library: /toolbar-app/package.json,/tutorials/package.json
Dependency Hierarchy:
- sharp-0.32.6.tgz (Root Library)
- ❌ tar-fs-3.0.6.tgz (Vulnerable Library)
tar-fs-2.1.1.tgz
filesystem bindings for tar-stream
Library home page: https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz
Path to dependency file: /toolbar-app/package.json
Path to vulnerable library: /toolbar-app/package.json,/tutorials/package.json
Dependency Hierarchy:
- sharp-0.32.6.tgz (Root Library)
- prebuild-install-7.1.2.tgz
- ❌ tar-fs-2.1.1.tgz (Vulnerable Library)
- prebuild-install-7.1.2.tgz
Found in base branch: main
Vulnerability Details
tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1.3, and 1.16.5 have an issue where an extract can write outside the specified dir with a specific tarball. This has been patched in versions 3.0.9, 2.1.3, and 1.16.5. As a workaround, use the ignore option to ignore non files/directories.
Publish Date: 2025-06-02
URL: CVE-2025-48387
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: High
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: GHSA-8cj5-5rvv-wf4v
Release Date: 2025-06-02
Fix Resolution: https://github.com/mafintosh/tar-fs.git - v2.1.3
CVE-2024-12905
Vulnerable Libraries - tar-fs-2.1.1.tgz, tar-fs-3.0.6.tgz
tar-fs-2.1.1.tgz
filesystem bindings for tar-stream
Library home page: https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz
Path to dependency file: /toolbar-app/package.json
Path to vulnerable library: /toolbar-app/package.json,/tutorials/package.json
Dependency Hierarchy:
- sharp-0.32.6.tgz (Root Library)
- prebuild-install-7.1.2.tgz
- ❌ tar-fs-2.1.1.tgz (Vulnerable Library)
- prebuild-install-7.1.2.tgz
tar-fs-3.0.6.tgz
Library home page: https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.6.tgz
Path to dependency file: /toolbar-app/package.json
Path to vulnerable library: /toolbar-app/package.json,/tutorials/package.json
Dependency Hierarchy:
- sharp-0.32.6.tgz (Root Library)
- ❌ tar-fs-3.0.6.tgz (Vulnerable Library)
Found in base branch: main
Vulnerability Details
An Improper Link Resolution Before File Access ("Link Following") and Improper Limitation of a Pathname to a Restricted Directory ("Path Traversal"). This vulnerability occurs when extracting a maliciously crafted tar file, which can result in unauthorized file writes or overwrites outside the intended extraction directory. The issue is associated with index.js in the tar-fs package.
This issue affects tar-fs: from 0.0.0 before 1.16.4, from 2.0.0 before 2.1.2, from 3.0.0 before 3.0.8.
Publish Date: 2025-03-27
URL: CVE-2024-12905
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: High
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Release Date: 2025-03-27
Fix Resolution (tar-fs): 2.1.2
Direct dependency fix Resolution (sharp): 0.33.0
Fix Resolution (tar-fs): 2.1.2
Direct dependency fix Resolution (sharp): 0.33.0
⛑️ Automatic Remediation will be attempted for this issue.
⛑️Automatic Remediation will be attempted for this issue.