Skip to content
OpenAdvisories
Medium · 5.3 GHSA-xf5p-87ch-gxw2

Marked ReDoS due to email addresses being evaluated in quadratic time

Published Jun 5, 2019 · Updated Aug 2, 2022 · Assigned by GHSA

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

Upgrade to version 0.6.2 or later.

Affected packages

EcosystemPackageAffectedFixedRecord
npm marked >= 0.3.14, < 0.6.2 0.6.2 GHSA-xf5p-87ch-gxw2

References