GHSA-ch52-vgq2-943f json
Regular Expression Denial of Service in marked
published 6y ago modified 6y ago
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
Affected versions of `marked` are vulnerable to Regular Expression Denial of Service (ReDoS). The `_label` subrule may significantly degrade parsing performance of malformed input.
## Recommendation
Upgrade to version 0.7.0 or later.
Patch / fix
- npm marked 0.7.0
Is GHSA-ch52-vgq2-943f in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | marked | >=0.4.0, <0.7.0 |
0.7.0 |
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
Sources
- GitHub Advisory GHSA-ch52-vgq2-943f
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.