Vulnerability library
Security checkJanuary 11, 2023

Marked ReDoS due to email addresses being evaluated in quadratic time

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmmarked

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Versions of marked from 0.3.14 until 0.6.2 are vulnerable to Regular Expression Denial of Service. Email addresses may be evaluated in quadratic time, allowing attackers to potentially crash the node process due to resource exhaustion.

Recommendation

Update the marked package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 0.3.14, < 0.6.2
  • Patched version(s): 0.6.2

References

Could your website be exposed too?

SmartScanner can check your website for Marked ReDoS due to email addresses being evaluated in quadratic time and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 11, 2023