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

pm2-5.3.0.tgz: 4 vulnerabilities (highest severity is: 10.0) - autoclosed #467

Closed
mend-bolt-for-github bot opened this issue Dec 17, 2023 · 2 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link
Contributor

Vulnerable Library - pm2-5.3.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Found in HEAD commit: 9d51879ee60ae481366a7710cdc54512e998427c

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (pm2 version) Remediation Possible**
CVE-2023-37903 Critical 10.0 vm2-3.9.19.tgz Transitive N/A*
CVE-2023-37466 Critical 9.8 vm2-3.9.19.tgz Transitive N/A*
CVE-2022-25883 High 7.5 detected in multiple dependencies Transitive N/A*
CVE-2023-45857 Medium 6.5 axios-0.21.4.tgz Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

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

Details

CVE-2023-37903

Vulnerable Library - vm2-3.9.19.tgz

Library home page: https://registry.npmjs.org/vm2/-/vm2-3.9.19.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • pm2-5.3.0.tgz (Root Library)
    • agent-2.0.1.tgz
      • proxy-agent-5.0.0.tgz
        • pac-proxy-agent-5.0.0.tgz
          • pac-resolver-5.0.1.tgz
            • degenerator-3.0.2.tgz
              • vm2-3.9.19.tgz (Vulnerable Library)

Found in HEAD commit: 9d51879ee60ae481366a7710cdc54512e998427c

Found in base branch: main

Vulnerability Details

vm2 is an open source vm/sandbox for Node.js. In vm2 for versions up to and including 3.9.19, Node.js custom inspect function allows attackers to escape the sandbox and run arbitrary code. This may result in Remote Code Execution, assuming the attacker has arbitrary code execution primitive inside the context of vm2 sandbox. There are no patches and no known workarounds. Users are advised to find an alternative software.

Publish Date: 2023-07-21

URL: CVE-2023-37903

CVSS 3 Score Details (10.0)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Step up your Open Source Security Game with Mend here

CVE-2023-37466

Vulnerable Library - vm2-3.9.19.tgz

Library home page: https://registry.npmjs.org/vm2/-/vm2-3.9.19.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • pm2-5.3.0.tgz (Root Library)
    • agent-2.0.1.tgz
      • proxy-agent-5.0.0.tgz
        • pac-proxy-agent-5.0.0.tgz
          • pac-resolver-5.0.1.tgz
            • degenerator-3.0.2.tgz
              • vm2-3.9.19.tgz (Vulnerable Library)

Found in HEAD commit: 9d51879ee60ae481366a7710cdc54512e998427c

Found in base branch: main

Vulnerability Details

vm2 is an advanced vm/sandbox for Node.js. The library contains critical security issues and should not be used for production. The maintenance of the project has been discontinued. In vm2 for versions up to 3.9.19, Promise handler sanitization can be bypassed with the @@species accessor property allowing attackers to escape the sandbox and run arbitrary code, potentially allowing remote code execution inside the context of vm2 sandbox.

Publish Date: 2023-07-14

URL: CVE-2023-37466

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.

Step up your Open Source Security Game with Mend here

CVE-2022-25883

Vulnerable Libraries - semver-5.7.1.tgz, semver-7.2.3.tgz, semver-6.3.0.tgz

semver-5.7.1.tgz

The semantic version parser used by npm.

Library home page: https://registry.npmjs.org/semver/-/semver-5.7.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • pm2-5.3.0.tgz (Root Library)
    • io-5.0.0.tgz
      • core-0.0.9.tgz
        • semver-5.7.1.tgz (Vulnerable Library)

semver-7.2.3.tgz

The semantic version parser used by npm.

Library home page: https://registry.npmjs.org/semver/-/semver-7.2.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • pm2-5.3.0.tgz (Root Library)
    • agent-2.0.1.tgz
      • semver-7.2.3.tgz (Vulnerable Library)

semver-6.3.0.tgz

The semantic version parser used by npm.

Library home page: https://registry.npmjs.org/semver/-/semver-6.3.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • pm2-5.3.0.tgz (Root Library)
    • io-5.0.0.tgz
      • semver-6.3.0.tgz (Vulnerable Library)

Found in HEAD commit: 9d51879ee60ae481366a7710cdc54512e998427c

Found in base branch: main

Vulnerability Details

Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.

Publish Date: 2023-06-21

URL: CVE-2022-25883

CVSS 3 Score Details (7.5)

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: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-c2qf-rxjj-qqgw

Release Date: 2023-06-21

Fix Resolution: semver - 5.7.2,6.3.1,7.5.2;org.webjars.npm:semver:7.5.2

Step up your Open Source Security Game with Mend here

CVE-2023-45857

Vulnerable Library - axios-0.21.4.tgz

Promise based HTTP client for the browser and node.js

Library home page: https://registry.npmjs.org/axios/-/axios-0.21.4.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • pm2-5.3.0.tgz (Root Library)
    • js-api-0.6.7.tgz
      • axios-0.21.4.tgz (Vulnerable Library)

Found in HEAD commit: 9d51879ee60ae481366a7710cdc54512e998427c

Found in base branch: main

Vulnerability Details

An issue discovered in Axios 1.5.1 inadvertently reveals the confidential XSRF-TOKEN stored in cookies by including it in the HTTP header X-XSRF-TOKEN for every request made to any host allowing attackers to view sensitive information.

Publish Date: 2023-11-08

URL: CVE-2023-45857

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2023-11-08

Fix Resolution: axios - 1.6.0

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 17, 2023
@mend-bolt-for-github mend-bolt-for-github bot changed the title pm2-5.3.0.tgz: 4 vulnerabilities (highest severity is: 10.0) pm2-5.3.0.tgz: 4 vulnerabilities (highest severity is: 10.0) - autoclosed Dec 17, 2023
@mend-bolt-for-github mend-bolt-for-github bot changed the title pm2-5.3.0.tgz: 4 vulnerabilities (highest severity is: 10.0) pm2-5.3.0.tgz: 4 vulnerabilities (highest severity is: 10.0) - autoclosed Dec 17, 2023
Copy link
Contributor Author

ℹ️ This issue was automatically closed by Mend because it is a duplicate of an existing issue: #468

1 similar comment
Copy link
Contributor Author

ℹ️ This issue was automatically closed by Mend because it is a duplicate of an existing issue: #468

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