Skip to content

Marked ReDoS due to email addresses being evaluated in quadratic time

Moderate severity GitHub Reviewed Published Jun 5, 2019 to the GitHub Advisory Database • Updated Jan 11, 2023

Package

npm marked (npm)

Affected versions

>= 0.3.14, < 0.6.2

Patched versions

0.6.2

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.

References

Reviewed Jun 5, 2019
Published to the GitHub Advisory Database Jun 5, 2019
Last updated Jan 11, 2023

Severity

Moderate
5.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-xf5p-87ch-gxw2

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.