-
Notifications
You must be signed in to change notification settings - Fork 76
Description
Vulnerable Library - gatsby-plugin-manifest-4.25.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Found in HEAD commit: 38861040afa73313b71d1d8b3f6404bff7d9796b
Vulnerabilities
| Vulnerability | Severity | Dependency | Type | Fixed in (gatsby-plugin-manifest version) | Remediation Possible** | |
|---|---|---|---|---|---|---|
| CVE-2025-48387 | 7.5 | tar-fs-2.1.1.tgz | Transitive | N/A* | ❌ | |
| CVE-2024-12905 | 7.5 | tar-fs-2.1.1.tgz | Transitive | 5.0.0 | ✅ | |
| CVE-2025-27789 | 6.2 | runtime-7.23.2.tgz | Transitive | 5.0.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-48387
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: /package.json
Path to vulnerable library: /package.json
Dependency Hierarchy:
- gatsby-plugin-manifest-4.25.0.tgz (Root Library)
- sharp-0.30.7.tgz
- ❌ tar-fs-2.1.1.tgz (Vulnerable Library)
- sharp-0.30.7.tgz
Found in HEAD commit: 38861040afa73313b71d1d8b3f6404bff7d9796b
Found in base branch: master
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 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: /package.json
Path to vulnerable library: /package.json
Dependency Hierarchy:
- gatsby-plugin-manifest-4.25.0.tgz (Root Library)
- sharp-0.30.7.tgz
- ❌ tar-fs-2.1.1.tgz (Vulnerable Library)
- sharp-0.30.7.tgz
Found in HEAD commit: 38861040afa73313b71d1d8b3f6404bff7d9796b
Found in base branch: master
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
Origin: mafintosh/tar-fs@a1dd7e7
Release Date: 2025-03-27
Fix Resolution (tar-fs): 2.1.2
Direct dependency fix Resolution (gatsby-plugin-manifest): 5.0.0
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2025-27789
Vulnerable Library - runtime-7.23.2.tgz
Library home page: https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Dependency Hierarchy:
- gatsby-plugin-manifest-4.25.0.tgz (Root Library)
- ❌ runtime-7.23.2.tgz (Vulnerable Library)
Found in HEAD commit: 38861040afa73313b71d1d8b3f6404bff7d9796b
Found in base branch: master
Vulnerability Details
Babel is a compiler for writing next generation JavaScript. When using versions of Babel prior to 7.26.10 and 8.0.0-alpha.17 to compile regular expression named capturing groups, Babel will generate a polyfill for the ".replace" method that has quadratic complexity on some specific replacement pattern strings (i.e. the second argument passed to ".replace"). Generated code is vulnerable if all the following conditions are true: Using Babel to compile regular expression named capturing groups, using the ".replace" method on a regular expression that contains named capturing groups, and the code using untrusted strings as the second argument of ".replace". This problem has been fixed in "@babel/helpers" and "@babel/runtime" 7.26.10 and 8.0.0-alpha.17. It's likely that individual users do not directly depend on "@babel/helpers", and instead depend on "@babel/core" (which itself depends on "@babel/helpers"). Upgrading to "@babel/core" 7.26.10 is not required, but it guarantees use of a new enough "@babel/helpers" version. Note that just updating Babel dependencies is not enough; one will also need to re-compile the code. No known workarounds are available.
Publish Date: 2025-03-11
URL: CVE-2025-27789
CVSS 3 Score Details (6.2)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Local
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Origin: GHSA-968p-4wvh-cqc8
Release Date: 2025-03-11
Fix Resolution (@babel/runtime): 7.26.10
Direct dependency fix Resolution (gatsby-plugin-manifest): 5.0.0
⛑️ Automatic Remediation will be attempted for this issue.
⛑️Automatic Remediation will be attempted for this issue.