Visitar URL original
Vulnerability Prototype Pollution · Issue #142 · commitizen/cz-conventional-changelog · GitHub
Skip to content

Vulnerability Prototype Pollution #142

Open

Description

@DaviLhlapak

A few days ago I went to install my project's packages and npm pointed out 4 critical security errors, but I couldn't understand the solution for it, I didn't find issues that matched the current problem, can you help me?

When running the command npm audit it shows the following text:

# npm audit report

merge  <2.1.1
Severity: high
Prototype Pollution - https://npmjs.com/advisories/1666
fix available via `npm audit fix --force`
Will install cz-conventional-changelog@3.0.1, which is a breaking change
node_modules/merge
  find-node-modules  <=2.1.0
  Depends on vulnerable versions of merge
  node_modules/find-node-modules
    commitizen  >=2.0.0
    Depends on vulnerable versions of cz-conventional-changelog
    Depends on vulnerable versions of find-node-modules
    node_modules/commitizen
      cz-conventional-changelog  >=3.0.2
      Depends on vulnerable versions of commitizen
      node_modules/commitizen/node_modules/cz-conventional-changelog
      node_modules/cz-conventional-changelog

4 high severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

These are the versions that I have installed
cz-cli@4.2.3
cz-conventional-changelog@3.3.0

Thanks in advance for your help.

About this Vulnerability: https://www.npmjs.com/advisories/1666

Activity

  1. ezrafree commented on Feb 10, 2022

    @ezrafree

    I just ran into this issue as well.

    If you're using yarn, I was able to resolve this issue by adding a resolutions object to my package.json:

    "resolutions": {
      "merge": "^2.1.1"
    }
    
  2. aiKrice commented on Apr 7, 2022

    @aiKrice

    Please up

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