Mend-DemoCorp / JuiceShop

MIT License
0 stars 0 forks source link

notevil-1.3.3.tgz: 1 vulnerabilities (highest severity is: 6.5) reachable #14

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

mend-for-github-com[bot] commented 1 month ago
Vulnerable Library - notevil-1.3.3.tgz

Evalulate javascript like the built-in eval() method but safely

Library home page: https://registry.npmjs.org/notevil/-/notevil-1.3.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/notevil/package.json

Found in HEAD commit: 46f9017bf07d9afe8f4c8706e6bb2bdfc9524486

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (notevil version) Remediation Possible** Reachability
CVE-2021-23771 Medium 6.5 notevil-1.3.3.tgz Direct N/A

Reachable

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

Details

CVE-2021-23771 ### Vulnerable Library - notevil-1.3.3.tgz

Evalulate javascript like the built-in eval() method but safely

Library home page: https://registry.npmjs.org/notevil/-/notevil-1.3.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/notevil/package.json

Dependency Hierarchy: - :x: **notevil-1.3.3.tgz** (Vulnerable Library)

Found in HEAD commit: 46f9017bf07d9afe8f4c8706e6bb2bdfc9524486

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` juice-shop-17.0.0/routes/b2bOrder.ts (Application) -> notevil-1.3.3/index.js (Extension) -> ❌ notevil-1.3.3/lib/primitives.js (Vulnerable Component) ```

### Vulnerability Details

This affects all versions of package notevil; all versions of package argencoders-notevil. It is vulnerable to Sandbox Escape leading to Prototype pollution. The package fails to restrict access to the main context, allowing an attacker to add or modify an object's prototype. **Note:** This vulnerability derives from an incomplete fix in [SNYK-JS-NOTEVIL-608878](https://security.snyk.io/vuln/SNYK-JS-NOTEVIL-608878).

Publish Date: 2022-03-17

URL: CVE-2021-23771

### CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

mend-for-github-com[bot] commented 1 month 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 month 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.