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

jscpd-3.5.1.tgz: 1 vulnerabilities (highest severity is: 9.1) #54

Open
mend-bolt-for-github bot opened this issue Dec 5, 2023 · 0 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link
Contributor

Vulnerable Library - jscpd-3.5.1.tgz

Path to dependency file: /package.json

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

Found in HEAD commit: 798d1157e236e6d0cd62e0a0effd08c6c1a04b46

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (jscpd version) Remediation Possible**
CVE-2023-26143 Critical 9.1 blamer-1.0.1.tgz Transitive 3.5.3

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2023-26143

Vulnerable Library - blamer-1.0.1.tgz

blamer is a tool for getting information about author of code from version control system

Library home page: https://registry.npmjs.org/blamer/-/blamer-1.0.1.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • jscpd-3.5.1.tgz (Root Library)
    • finder-3.5.1.tgz
      • blamer-1.0.1.tgz (Vulnerable Library)

Found in HEAD commit: 798d1157e236e6d0cd62e0a0effd08c6c1a04b46

Found in base branch: main

Vulnerability Details

Versions of the package blamer before 1.0.4 are vulnerable to Arbitrary Argument Injection via the blameByFile() API. The library does not sanitize for user input or validate the given file path conforms to a specific schema, nor does it properly pass command-line flags to the git binary using the double-dash POSIX characters (--) to communicate the end of options.

Publish Date: 2023-09-19

URL: CVE-2023-26143

CVSS 3 Score Details (9.1)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://gist.github.com/lirantal/14c3686370a86461f555d3f0703e02f9

Release Date: 2023-09-19

Fix Resolution (blamer): 1.0.4

Direct dependency fix Resolution (jscpd): 3.5.3

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 Mend label Dec 5, 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 Mend
Projects
None yet
Development

No branches or pull requests

0 participants