Mend-DemoCorp / JuiceShop

MIT License
0 stars 0 forks source link

marsdb-0.6.11.tgz: 1 vulnerabilities (highest severity is: 6.2) reachable #8

Open mend-for-github-com[bot] opened 3 months ago

mend-for-github-com[bot] commented 3 months ago
Vulnerable Library - marsdb-0.6.11.tgz

MarsDB is a lightweight client-side MongoDB-like database, Promise based, written in ES6

Library home page: https://registry.npmjs.org/marsdb/-/marsdb-0.6.11.tgz

Path to dependency file: /package.json

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

Found in HEAD commit: 46f9017bf07d9afe8f4c8706e6bb2bdfc9524486

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (marsdb version) Remediation Possible** Reachability
WS-2019-0309 Medium 6.2 marsdb-0.6.11.tgz Direct N/A

Reachable

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

Details

WS-2019-0309 ### Vulnerable Library - marsdb-0.6.11.tgz

MarsDB is a lightweight client-side MongoDB-like database, Promise based, written in ES6

Library home page: https://registry.npmjs.org/marsdb/-/marsdb-0.6.11.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy: - :x: **marsdb-0.6.11.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/data/mongodb.ts (Application) -> marsdb-0.6.11/index.js (Extension) -> marsdb-0.6.11/dist/CursorObservable.js (Extension) -> marsdb-0.6.11/dist/Cursor.js (Extension) -> ❌ marsdb-0.6.11/dist/cursor-processors/join.js (Vulnerable Component) ```

### Vulnerability Details

There is a Command Injection vulnerability found in all versions of marsdb. Attacker my run arbitrary command when function is executed.

Publish Date: 2019-12-01

URL: WS-2019-0309

### CVSS 3 Score Details (6.2)

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

For more information on CVSS3 Scores, click here.

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