studio
studio copied to clipboard
mongodb-memory-server-8.15.1.tgz: 3 vulnerabilities (highest severity is: 7.5) reachable
Vulnerable Library - mongodb-memory-server-8.15.1.tgz
Found in HEAD commit: 6d9647c6b41573a1d30cef1f4a06c455ed027b71
Vulnerabilities
| CVE | Severity | Dependency | Type | Fixed in (mongodb-memory-server version) | Remediation Possible** | Reachability | |
|---|---|---|---|---|---|---|---|
| CVE-2024-28849 | 6.5 | follow-redirects-1.15.4.tgz | Transitive | N/A* | ❌ |
|
|
| CVE-2023-34104 | 7.5 | fast-xml-parser-4.0.11.tgz | Transitive | 8.16.0 | ❌ |
|
|
| CVE-2023-26920 | 6.5 | fast-xml-parser-4.0.11.tgz | Transitive | 8.16.0 | ❌ |
|
*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-2024-28849
Vulnerable Library - follow-redirects-1.15.4.tgz
Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz
Dependency Hierarchy:
- mongodb-memory-server-8.15.1.tgz (Root Library)
- mongodb-memory-server-core-8.15.1.tgz
- :x: follow-redirects-1.15.4.tgz (Vulnerable Library)
- mongodb-memory-server-core-8.15.1.tgz
Found in HEAD commit: 6d9647c6b41573a1d30cef1f4a06c455ed027b71
Found in base branch: main
Reachability Analysis
This vulnerability is potentially reachable
@mathigon/studio-0.1.42/server/utilities/mongodb.ts (Application)
-> mongodb-memory-server-8.15.1/index.js (Extension)
-> mongodb-memory-server-core-8.15.1/lib/index.js (Extension)
-> mongodb-memory-server-core-8.15.1/lib/util/MongoBinary.js (Extension)
-> mongodb-memory-server-core-8.15.1/lib/util/MongoBinaryDownload.js (Extension)
-> ❌ follow-redirects-1.15.4/index.js (Vulnerable Component)
Vulnerability Details
follow-redirects is an open source, drop-in replacement for Node's http and https modules that automatically follows redirects. In affected versions follow-redirects only clears authorization header during cross-domain redirect, but keep the proxy-authentication header which contains credentials too. This vulnerability may lead to credentials leak, but has been addressed in version 1.15.6. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Publish Date: 2024-03-14
URL: CVE-2024-28849
CVSS 3 Score Details (6.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: None
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-cxjh-pqwp-8mfp
Release Date: 2024-03-14
Fix Resolution: follow-redirects - 1.15.6
CVE-2023-34104
Vulnerable Library - fast-xml-parser-4.0.11.tgz
Validate XML, Parse XML, Build XML without C/C++ based libraries
Library home page: https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.0.11.tgz
Dependency Hierarchy:
- mongodb-memory-server-8.15.1.tgz (Root Library)
- mongodb-memory-server-core-8.15.1.tgz
- mongodb-4.17.1.tgz
- credential-providers-3.201.0.tgz
- client-sts-3.201.0.tgz
- :x: fast-xml-parser-4.0.11.tgz (Vulnerable Library)
- client-sts-3.201.0.tgz
- credential-providers-3.201.0.tgz
- mongodb-4.17.1.tgz
- mongodb-memory-server-core-8.15.1.tgz
Found in HEAD commit: 6d9647c6b41573a1d30cef1f4a06c455ed027b71
Found in base branch: main
Reachability Analysis
The vulnerable code is unreachable
Vulnerability Details
fast-xml-parser is an open source, pure javascript xml parser. fast-xml-parser allows special characters in entity names, which are not escaped or sanitized. Since the entity name is used for creating a regex for searching and replacing entities in the XML body, an attacker can abuse it for denial of service (DoS) attacks. By crafting an entity name that results in an intentionally bad performing regex and utilizing it in the entity replacement step of the parser, this can cause the parser to stall for an indefinite amount of time. This problem has been resolved in v4.2.4. Users are advised to upgrade. Users unable to upgrade should avoid using DOCTYPE parsing by setting the processEntities: false option.
Publish Date: 2023-06-06
URL: CVE-2023-34104
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
Suggested Fix
Type: Upgrade version
Origin: https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-6w63-h3fj-q4vw
Release Date: 2023-06-06
Fix Resolution (fast-xml-parser): 4.2.4
Direct dependency fix Resolution (mongodb-memory-server): 8.16.0
CVE-2023-26920
Vulnerable Library - fast-xml-parser-4.0.11.tgz
Validate XML, Parse XML, Build XML without C/C++ based libraries
Library home page: https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.0.11.tgz
Dependency Hierarchy:
- mongodb-memory-server-8.15.1.tgz (Root Library)
- mongodb-memory-server-core-8.15.1.tgz
- mongodb-4.17.1.tgz
- credential-providers-3.201.0.tgz
- client-sts-3.201.0.tgz
- :x: fast-xml-parser-4.0.11.tgz (Vulnerable Library)
- client-sts-3.201.0.tgz
- credential-providers-3.201.0.tgz
- mongodb-4.17.1.tgz
- mongodb-memory-server-core-8.15.1.tgz
Found in HEAD commit: 6d9647c6b41573a1d30cef1f4a06c455ed027b71
Found in base branch: main
Reachability Analysis
The vulnerable code is unreachable
Vulnerability Details
fast-xml-parser before 4.1.2 allows proto for Prototype Pollution.
Publish Date: 2023-12-12
URL: CVE-2023-26920
CVSS 3 Score Details (6.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: None
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-x3cc-x39p-42qx
Release Date: 2023-12-12
Fix Resolution (fast-xml-parser): 4.1.2
Direct dependency fix Resolution (mongodb-memory-server): 8.16.0