Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2020-12265 (Critical) detected in decompress-tar-1.0.3.tgz, decompress-1.0.7.tgz #10

Open
mend-bolt-for-github bot opened this issue Feb 17, 2021 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Feb 17, 2021

CVE-2020-12265 - Critical Severity Vulnerability

Vulnerable Libraries - decompress-tar-1.0.3.tgz, decompress-1.0.7.tgz

decompress-tar-1.0.3.tgz

decompress tar plugin

Library home page: https://registry.npmjs.org/decompress-tar/-/decompress-tar-1.0.3.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • yeoman-generator-0.17.7.tgz (Root Library)
    • download-1.0.7.tgz
      • decompress-1.0.7.tgz
        • decompress-tar-1.0.3.tgz (Vulnerable Library)
decompress-1.0.7.tgz

Easily extract archives

Library home page: https://registry.npmjs.org/decompress/-/decompress-1.0.7.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/decompress/package.json

Dependency Hierarchy:

  • yeoman-generator-0.17.7.tgz (Root Library)
    • download-1.0.7.tgz
      • decompress-1.0.7.tgz (Vulnerable Library)

Found in HEAD commit: f1011c2c99085a741d1c0ddbb5dd8b10272ca9b1

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


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Feb 17, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2020-12265 (High) detected in decompress-1.0.7.tgz CVE-2020-12265 (High) detected in decompress-tar-1.0.3.tgz, decompress-1.0.7.tgz Apr 4, 2023
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2020-12265 (High) detected in decompress-tar-1.0.3.tgz, decompress-1.0.7.tgz CVE-2020-12265 (Critical) detected in decompress-tar-1.0.3.tgz, decompress-1.0.7.tgz Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants