Fedify has ReDoS Vulnerability in HTML Parsing Regex
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.6.13, 1.7.14, 1.8.15, 1.9.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: poc
- Automatable: yes
- Technical impact: partial
Summary
Fedify is a TypeScript library for building federated server apps powered by ActivityPub. Prior to versions 1.6.13, 1.7.14, 1.8.15, and 1.9.2, a Regular Expression Denial of Service (ReDoS) vulnerability exists in Fedify's document loader. The HTML parsing regex at packages/fedify/src/runtime/docloader.ts:259 contains nested quantifiers that cause catastrophic backtracking when processing maliciously crafted HTML responses. This issue has been patched in versions 1.6.13, 1.7.14, 1.8.15, and 1.9.2.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- fedify-dev fedify
fixed in 1.6.13; From 1.7.0 · fixed in 1.7.14; From 1.8.0 · fixed in 1.8.15; From 1.9.0 · fixed in 1.9.2
- @fedify/fedifynpm
fixed in 1.6.13
- @fedify/fedifynpm
From 1.7.0 · fixed in 1.7.14
- @fedify/fedifynpm
From 1.8.0 · fixed in 1.8.15
- @fedify/fedifynpm
From 1.9.0 · fixed in 1.9.2