temporalio / samples-typescript

Other
316 stars 123 forks source link

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

Open mend-for-github-com[bot] opened 1 year ago

mend-for-github-com[bot] commented 1 year ago
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 - :x: **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 - :x: **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.

mend-for-github-com[bot] commented 1 year ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-for-github-com[bot] commented 1 year ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.