chjj/marked · Security
Regular Expression Denial of Service in marked
- GHSA ID
- GHSA-hjcp-j389-59ff
- CVE ID
- CVE-2015-8854
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
Versions 0.3.3 and earlier of marked are affected by a regular expression denial of service ( ReDoS ) vulnerability when passed inputs that reach the em inline rule.
Recommendation
Update to version 0.3.4 or later.
CWEs
- CWE-1333 · Inefficient Regular Expression Complexity
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-8854 ↗
- https://github.com/chjj/marked/issues/497 ↗
- https://github.com/advisories/GHSA-hjcp-j389-59ff ↗
- https://www.npmjs.com/advisories/23 ↗
- https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BO2RMVVZVV6NFTU46B5RYRK7ZCXYARZS/ ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/M6BJG6RGDH7ZWVVAUFBFI5L32RSMQN2S/ ↗
- https://support.f5.com/csp/article/K05052081?utm_source=f5support&utm_medium=RSS ↗
- http://www.openwall.com/lists/oss-security/2016/04/20/11 ↗