temporalio / temporalio/samples-typescript

driver-0.0.1.tgz: 2 vulnerabilities (highest severity is: 10.0)

Open
#267 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Mend: dependency security vulnerability
Dominant language
TypeScript
Stars
465
Forks
148
Avg merge
1d 10h
Merged PRs (30d)
11

Description

Vulnerable Library - driver-0.0.1.tgz

Path to dependency file: /food-delivery/package.json

Path to vulnerable library: /food-delivery/node_modules/vm2/package.json

Found in HEAD commit: 3b9bae980eb794fab08e5addef96e9ace5acb327

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (driver version) Remediation Possible**
CVE-2023-37466 Critical 10.0 vm2-3.9.19.tgz Transitive N/A*
CVE-2023-37903 Critical 10.0 vm2-3.9.19.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-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: /food-delivery/package.json

Path to vulnerable library: /food-delivery/node_modules/vm2/package.json

Dependency Hierarchy:

  • driver-0.0.1.tgz (Root Library)
    • vercel-28.20.0.tgz
      • remix-builder-1.8.5.tgz
        • dev-1.15.0.tgz
          • proxy-agent-5.0.0.tgz
            • pac-proxy-agent-5.0.0.tgz
              • pac-resolver-5.0.1.tgz
                • degenerator-3.0.4.tgz
                  • vm2-3.9.19.tgz (Vulnerable Library)

Found in HEAD commit: 3b9bae980eb794fab08e5addef96e9ace5acb327

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 (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.

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: /food-delivery/package.json

Path to vulnerable library: /food-delivery/node_modules/vm2/package.json

Dependency Hierarchy:

  • driver-0.0.1.tgz (Root Library)
    • vercel-28.20.0.tgz
      • remix-builder-1.8.5.tgz
        • dev-1.15.0.tgz
          • proxy-agent-5.0.0.tgz
            • pac-proxy-agent-5.0.0.tgz
              • pac-resolver-5.0.1.tgz
                • degenerator-3.0.4.tgz
                  • vm2-3.9.19.tgz (Vulnerable Library)

Found in HEAD commit: 3b9bae980eb794fab08e5addef96e9ace5acb327

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with /food-delivery/package.json and trace the reported dependency hierarchy from vercel through degenerator to vm2-3.9.19. Confirm whether the vulnerable transitive dependency can be removed or replaced; done requires eliminating the reported vm2 vulnerabilities or documenting that no viable remediation exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
devops, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.