rlennon / whitesource_bolt_demo

Using OS code from Portainer to represent a relatively large project. Whitesource Bolt is used to scan the repo.
0 stars 0 forks source link

CVE-2020-12265 (Critical) detected in decompress-tar-4.1.1.tgz - autoclosed #113

Closed mend-bolt-for-github[bot] closed 2 months ago

mend-bolt-for-github[bot] commented 1 year ago

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: /portainer-develop/portainer-develop/package.json

Path to vulnerable library: /portainer-develop/portainer-develop/node_modules/decompress-tar/package.json

Dependency Hierarchy: - image-webpack-loader-4.6.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: ec9d972edb7fb1ea028782bd0f770272d89e0c60

Found in base branch: main

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


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 2 months ago

: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.