CVE-2021-21306
MEDIUM5.3EPSS 0.60%Regular Expression Denial of Service (REDoS) in Marked
描述
### Impact _What kind of vulnerability is it? Who is impacted?_ [Regular expression Denial of Service](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS) A Denial of Service attack can affect anyone who runs user generated code through `marked`. ### Patches _Has the problem been patched? What versions should users upgrade to?_ patched in v2.0.0 ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ None. ### References _Are there any links users can visit to find out more?_ https://github.com/markedjs/marked/issues/1927 https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS ### For more information If you have any questions or comments about this advisory: * Open an issue in [marked](https://github.com/markedjs/marked/issues)
受影響套件(1)
- npm/marked>= 1.1.1, < 2.0.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-21306
- WEBhttps://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd
- WEBhttps://github.com/markedjs/marked/issues/1927
- WEBhttps://github.com/markedjs/marked/pull/1864
- WEBhttps://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96
- WEBhttps://www.npmjs.com/package/marked