HighGHSA-hjcp-j389-59ffCVE-2015-8854
Regular Expression Denial of Service in marked
Published 24 Oct 2017 · Updated 9 Feb 2024
Affected package
markednpm
- Affected
- <0.3.4
- Fixed in
- 0.3.4
Update to the fixed version for your release line, for example:
npm install marked@0.3.4Details
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.
Is GHSA-hjcp-j389-59ff in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected marked, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2015-8854
- Linkgithub.com/chjj/marked/issues/497
- Advisorygithub.com/advisories/GHSA-hjcp-j389-59ff
- Packagegithub.com/chjj/marked
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BO2RMVVZVV6NFTU46B5RYRK7ZCXYARZS
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M6BJG6RGDH7ZWVVAUFBFI5L32RSMQN2S
- Linksupport.f5.com/csp/article/K05052081?utm_source=f5support&utm_medium=RSS
- Linkwww.npmjs.com/advisories/23
- Linkwww.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS
- Linkwww.openwall.com/lists/oss-security/2016/04/20/11
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.