Advisory

GHSA-545q-3fg6-48m7

Also known as: CVE-2021-23346

Summary

html-parse-stringify and html-parse-stringify2 vulnerable to Regular expression denial of service (ReDoS)

Details

This affects the package html-parse-stringify before 2.0.1; all versions of package html-parse-stringify2. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-03-18 19:39 UTC
Modified
2025-01-14 08:56 UTC

Affected packages and fixes

html-parse-stringify

npm · All systems

Affected

  • introduced 0, fixed 2.0.1 (semver)

Fixed versions

2.0.1

Fix

html-parse-stringify2

npm · All systems

Affected

  • introduced 0, last affected 2.0.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences