Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
CVE–2022–21680![shield](https://camo.githubusercontent.com/b8f724418ae7cfc49f32b37ca17dd3033f364be653c0fddcca6b66f35770c420/68747470733a2f2f6465627269636b65642e636f6d2f6d656469612f696d616765732f64656661756c745f696d616765732f6d61726b646f776e2f70756c6c5f726571756573742f68696768332d322d30312e737667)
Vulnerable dependency: marked (Yarn)
0.4.0
Vulnerable dependency: marked (npm)
0.4.0
Vulnerability details
Description
NVD
GitHub
CVSS details -
7.5
References
Inefficient Regular Expression Complexity in marked · CVE-2022-21680 · GitHub Advisory Database · GitHub![link](https://camo.githubusercontent.com/4a515ad49f4d2866ad4954f3c26852ce00f654ca3e734a2d6d2c3351b380b7e2/68747470733a2f2f6465627269636b65642e636f6d2f6d656469612f696d616765732f64656661756c745f696d616765732f6d61726b646f776e2f70756c6c5f726571756573742f6c696e6b2d70722d30312e737667)
![link](https://camo.githubusercontent.com/4a515ad49f4d2866ad4954f3c26852ce00f654ca3e734a2d6d2c3351b380b7e2/68747470733a2f2f6465627269636b65642e636f6d2f6d656469612f696d616765732f64656661756c745f696d616765732f6d61726b646f776e2f70756c6c5f726571756573742f6c696e6b2d70722d30312e737667)
![link](https://camo.githubusercontent.com/4a515ad49f4d2866ad4954f3c26852ce00f654ca3e734a2d6d2c3351b380b7e2/68747470733a2f2f6465627269636b65642e636f6d2f6d656469612f696d616765732f64656661756c745f696d616765732f6d61726b646f776e2f70756c6c5f726571756573742f6c696e6b2d70722d30312e737667)
![link](https://camo.githubusercontent.com/4a515ad49f4d2866ad4954f3c26852ce00f654ca3e734a2d6d2c3351b380b7e2/68747470733a2f2f6465627269636b65642e636f6d2f6d656469612f696d616765732f64656661756c745f696d616765732f6d61726b646f776e2f70756c6c5f726571756573742f6c696e6b2d70722d30312e737667)
![link](https://camo.githubusercontent.com/4a515ad49f4d2866ad4954f3c26852ce00f654ca3e734a2d6d2c3351b380b7e2/68747470733a2f2f6465627269636b65642e636f6d2f6d656469612f696d616765732f64656661756c745f696d616765732f6d61726b646f776e2f70756c6c5f726571756573742f6c696e6b2d70722d30312e737667)
NVD - CVE-2022-21680
Merge pull request from GHSA-rrrm-qjm4-v8hf · markedjs/marked@c4a3ccd · GitHub
Cubic catastrophic backtracking (ReDoS) in
block.def
· Advisory · markedjs/marked · GitHubRelease v4.0.10 · markedjs/marked · GitHub
Related information
📌 Remember! Check the changes to ensure they don't introduce any breaking changes.
📚 Read more about the CVE