ADVISORIES

GitHub Advisory Database

GHSA-x5pg-88wf-qq4p

Regular Expression Denial of Service in marked

Details

Affected versions of marked are vulnerable to a regular expression denial of service.

The amplification in this vulnerability is significant, with 1,000 characters resulting in the event loop being blocked for around 6 seconds.

Recommendation

Update to version 0.3.9 or later.

Affected packages

EcosystemPackageAffected versions
npmmarked
All versions before 0.3.9 (fixed in 0.3.9)

References