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.
: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 - High 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
Dependency Hierarchy: - gulp-imagemin-6.2.0.tgz (Root Library) - imagemin-gifsicle-6.0.1.tgz - gifsicle-4.0.1.tgz - bin-build-3.0.0.tgz - decompress-4.2.1.tgz - :x: **decompress-tar-4.1.1.tgz** (Vulnerable Library)
Found in HEAD commit: 4c04dadd915d6323f64b1d98dcdbc29df3b57cbb
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.
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
Step up your Open Source Security Game with Mend here