CVE-2021-21306
CVSS V2 Medium 5
CVSS V3 High 7.5
Description
Marked is an open-source markdown parser and compiler (npm package "marked"). In marked from version 1.1.1 and before version 2.0.0, there is a Regular expression Denial of Service vulnerability. This vulnerability can affect anyone who runs user generated code through marked. This vulnerability is fixed in version 2.0.0.
Overview
- CVE ID
- CVE-2021-21306
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-02-08T22:15:12
- Last Modified Date
- 2021-02-11T21:53:28
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:marked_project:marked:*:*:*:*:*:node.js:*:* | 1 | OR | 1.1.1 | 2.0.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://www.npmjs.com/package/marked | Product Third Party Advisory |
https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd | Patch Third Party Advisory |
https://github.com/markedjs/marked/pull/1864 | Patch Third Party Advisory |
https://github.com/markedjs/marked/issues/1927 | Third Party Advisory |
https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96 | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-21306 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21306 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:23:34 | Added to TrackCVE | |||
2022-12-05 21:36:42 | 2021-02-08T22:15Z | 2021-02-08T22:15:12 | CVE Published Date | updated |
2022-12-05 21:36:42 | 2021-02-11T21:53:28 | CVE Modified Date | updated | |
2022-12-05 21:36:42 | Analyzed | Vulnerability Status | updated |