-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Vulnerable Library - marked-0.3.9.tgz
A markdown parser built for speed
Library home page: https://registry.npmjs.org/marked/-/marked-0.3.9.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/marked/package.json
Found in HEAD commit: 0f560909b2ffd6ef4ef6430245d20517f6f55a06
Vulnerabilities
| Vulnerability | Severity | Exploit Maturity | EPSS | Dependency | Type | Fixed in (marked version) | Remediation Possible** | Reachability | |
|---|---|---|---|---|---|---|---|---|---|
| CVE-2022-21681 | 7.5 | Not Defined | 0.5% | marked-0.3.9.tgz | Direct | 4.0.10 | ✅ | ||
| CVE-2022-21680 | 7.5 | Not Defined | 0.5% | marked-0.3.9.tgz | Direct | 4.0.10 | ✅ | ||
| WS-2020-0163 | 5.9 | Not Defined | marked-0.3.9.tgz | Direct | 1.1.1 | ✅ | |||
| WS-2019-0027 | 5.3 | Not Defined | marked-0.3.9.tgz | Direct | 0.3.18 | ✅ | |||
| WS-2018-0628 | 5.3 | Not Defined | marked-0.3.9.tgz | Direct | 0.4.0 | ✅ | |||
| CVE-2018-25110 | 5.3 | Not Defined | 0.3% | marked-0.3.9.tgz | Direct | https://github.com/markedjs/marked.git - v0.3.17 | ✅ |
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2022-21681
Vulnerable Library - marked-0.3.9.tgz
A markdown parser built for speed
Library home page: https://registry.npmjs.org/marked/-/marked-0.3.9.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/marked/package.json
Dependency Hierarchy:
- ❌ marked-0.3.9.tgz (Vulnerable Library)
Found in HEAD commit: 0f560909b2ffd6ef4ef6430245d20517f6f55a06
Found in base branch: master
Reachability Analysis
This vulnerability is potentially reachable
owasp-nodejs-goat-1.3.0/server.js (Application)
-> ❌ marked-0.3.9/lib/marked.js (Vulnerable Component)
Vulnerability Details
Marked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression "inline.reflinkSearch" may cause catastrophic backtracking against some strings and lead to a denial of service (DoS). Anyone who runs untrusted markdown through a vulnerable version of marked and does not use a worker with a time limit may be affected. This issue is patched in version 4.0.10. As a workaround, avoid running untrusted markdown through marked or run marked on a worker thread and set a reasonable time limit to prevent draining resources.
Mend Note: The description of this vulnerability differs from MITRE.
Publish Date: 2022-01-14
URL: CVE-2022-21681
Threat Assessment
Exploit Maturity: Not Defined
EPSS: 0.5%
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: GHSA-5v2h-r2cx-5xgj
Release Date: 2022-01-14
Fix Resolution: 4.0.10
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2022-21680
Vulnerable Library - marked-0.3.9.tgz
A markdown parser built for speed
Library home page: https://registry.npmjs.org/marked/-/marked-0.3.9.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/marked/package.json
Dependency Hierarchy:
- ❌ marked-0.3.9.tgz (Vulnerable Library)
Found in HEAD commit: 0f560909b2ffd6ef4ef6430245d20517f6f55a06
Found in base branch: master
Reachability Analysis
This vulnerability is potentially reachable
owasp-nodejs-goat-1.3.0/server.js (Application)
-> ❌ marked-0.3.9/lib/marked.js (Vulnerable Component)
Vulnerability Details
Marked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression "block.def" may cause catastrophic backtracking against some strings and lead to a regular expression denial of service (ReDoS). Anyone who runs untrusted markdown through a vulnerable version of marked and does not use a worker with a time limit may be affected. This issue is patched in version 4.0.10. As a workaround, avoid running untrusted markdown through marked or run marked on a worker thread and set a reasonable time limit to prevent draining resources.
Mend Note: The description of this vulnerability differs from MITRE.
Publish Date: 2022-01-14
URL: CVE-2022-21680
Threat Assessment
Exploit Maturity: Not Defined
EPSS: 0.5%
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: GHSA-rrrm-qjm4-v8hf
Release Date: 2022-01-14
Fix Resolution: 4.0.10
⛑️ Automatic Remediation will be attempted for this issue.
WS-2020-0163
Vulnerable Library - marked-0.3.9.tgz
A markdown parser built for speed
Library home page: https://registry.npmjs.org/marked/-/marked-0.3.9.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/marked/package.json
Dependency Hierarchy:
- ❌ marked-0.3.9.tgz (Vulnerable Library)
Found in HEAD commit: 0f560909b2ffd6ef4ef6430245d20517f6f55a06
Found in base branch: master
Reachability Analysis
This vulnerability is potentially reachable
owasp-nodejs-goat-1.3.0/server.js (Application)
-> ❌ marked-0.3.9/lib/marked.js (Vulnerable Component)
Vulnerability Details
marked before 1.1.1 is vulnerable to Regular Expression Denial of Service (REDoS). rules.js have multiple unused capture groups which can lead to a Denial of Service.
Publish Date: 2020-07-02
URL: WS-2020-0163
Threat Assessment
Exploit Maturity: Not Defined
EPSS:
CVSS 3 Score Details (5.9)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Release Date: 2020-07-02
Fix Resolution: 1.1.1
⛑️ Automatic Remediation will be attempted for this issue.
WS-2019-0027
Vulnerable Library - marked-0.3.9.tgz
A markdown parser built for speed
Library home page: https://registry.npmjs.org/marked/-/marked-0.3.9.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/marked/package.json
Dependency Hierarchy:
- ❌ marked-0.3.9.tgz (Vulnerable Library)
Found in HEAD commit: 0f560909b2ffd6ef4ef6430245d20517f6f55a06
Found in base branch: master
Reachability Analysis
This vulnerability is potentially reachable
owasp-nodejs-goat-1.3.0/server.js (Application)
-> ❌ marked-0.3.9/lib/marked.js (Vulnerable Component)
Vulnerability Details
Versions 0.3.17 and earlier of marked has Four regexes were vulnerable to catastrophic backtracking. This leaves markdown servers open to a potential REDOS attack.
Publish Date: 2018-02-26
URL: WS-2019-0027
Threat Assessment
Exploit Maturity: Not Defined
EPSS:
CVSS 3 Score Details (5.3)
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: Low
Suggested Fix
Type: Upgrade version
Release Date: 2018-02-26
Fix Resolution: 0.3.18
⛑️ Automatic Remediation will be attempted for this issue.
WS-2018-0628
Vulnerable Library - marked-0.3.9.tgz
A markdown parser built for speed
Library home page: https://registry.npmjs.org/marked/-/marked-0.3.9.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/marked/package.json
Dependency Hierarchy:
- ❌ marked-0.3.9.tgz (Vulnerable Library)
Found in HEAD commit: 0f560909b2ffd6ef4ef6430245d20517f6f55a06
Found in base branch: master
Reachability Analysis
This vulnerability is potentially reachable
owasp-nodejs-goat-1.3.0/server.js (Application)
-> ❌ marked-0.3.9/lib/marked.js (Vulnerable Component)
Vulnerability Details
marked before 0.4.0 is vulnerable to Regular Expression Denial of Service (REDoS) through heading in marked.js.
Publish Date: 2018-04-16
URL: WS-2018-0628
Threat Assessment
Exploit Maturity: Not Defined
EPSS:
CVSS 3 Score Details (5.3)
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: Low
Suggested Fix
Type: Upgrade version
Release Date: 2018-04-16
Fix Resolution: 0.4.0
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2018-25110
Vulnerable Library - marked-0.3.9.tgz
A markdown parser built for speed
Library home page: https://registry.npmjs.org/marked/-/marked-0.3.9.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/marked/package.json
Dependency Hierarchy:
- ❌ marked-0.3.9.tgz (Vulnerable Library)
Found in HEAD commit: 0f560909b2ffd6ef4ef6430245d20517f6f55a06
Found in base branch: master
Vulnerability Details
Marked prior to version 0.3.17 is vulnerable to a Regular Expression Denial of Service (ReDoS) attack due to catastrophic backtracking in several regular expressions used for parsing HTML tags and markdown links. An attacker can exploit this vulnerability by providing specially crafted markdown input, such as deeply nested or repetitively structured brackets or tag attributes, which cause the parser to hang and lead to a Denial of Service.
Publish Date: 2025-05-23
URL: CVE-2018-25110
Threat Assessment
Exploit Maturity: Not Defined
EPSS: 0.3%
CVSS 3 Score Details (5.3)
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: Low
Suggested Fix
Type: Upgrade version
Release Date: 2025-05-23
Fix Resolution: https://github.com/markedjs/marked.git - v0.3.17
⛑️ Automatic Remediation will be attempted for this issue.
⛑️Automatic Remediation will be attempted for this issue.