The decompress package before 4.2.1 for Node.js is vulnerable to Arbitrary File Write via ../ in an archive member, when a symlink is used, because of Directory Traversal.
Mend Note: Decompress versions prior to 4.2.1 are vulnerable to CVE-2020-12265 which could lead to Path Traversal. decompress-tar is a tar plugin for decompress and is also vulnerable to CVE-2020-12265 and there is no fixed version for decompress-tar.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2020-12265 - Critical Severity Vulnerability
Vulnerable Library - decompress-tar-4.1.1.tgz
decompress tar plugin
Library home page: https://registry.npmjs.org/decompress-tar/-/decompress-tar-4.1.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/decompress-tar/package.json,/backend/node_modules/decompress-tar/package.json
Dependency Hierarchy: - decompress-4.2.1.tgz (Root Library) - :x: **decompress-tar-4.1.1.tgz** (Vulnerable Library)
Found in HEAD commit: 50731d7b248d2728e4e5fda6648192e5a322f08c
Found in base branch: master
Vulnerability Details
The decompress package before 4.2.1 for Node.js is vulnerable to Arbitrary File Write via ../ in an archive member, when a symlink is used, because of Directory Traversal. Mend Note: Decompress versions prior to 4.2.1 are vulnerable to CVE-2020-12265 which could lead to Path Traversal. decompress-tar is a tar plugin for decompress and is also vulnerable to CVE-2020-12265 and there is no fixed version for decompress-tar.
Publish Date: 2020-04-26
URL: CVE-2020-12265
CVSS 3 Score Details (9.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12265
Release Date: 2020-04-26
Fix Resolution: decompress - 4.2.1, decompress-tar - No fix version available