Skip to content

Vulnerability: Prototype Pollution via the main (merge) function  #963

Description

@rkristelijn

Description

Found by vulnerability check OWASP:UsingComponentWithKnownVulnerability

Filename: merge:2.1.1 | Reference: CVE-2021-23397 | CVSS Score: 9.8 | Category: CWE-1321 | All versions of package @ianwalter/merge are vulnerable to Prototype Pollution via the main (merge) function. Maintainer suggests using @generates/merger instead.

dependency tree:

commitizen@4.2.6
  └ find-node-modules@2.1.3
    └ merge@2.1.1

caused by callumacrae/find-node-modules#18

awaiting fix to upgrade to find-node-modules@2.1.4

Steps to reproduce

  1. Clone this repo
  2. Install dependencies npm i
  3. observe vulnerability

Environment

  • commitizen@4.2.6

Wrongly raised in commitizen-tools/commitizen#654

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions