Fedify
Fedify has ReDoS Vulnerability in HTML Parsing Regex
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-1333
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
fedify-dev fedify
- < 1.6.13
- >= 1.7.0, < 1.7.14
- >= 1.8.0, < 1.8.15
- >= 1.9.0, < 1.9.2
Fixed in 1.6.13, 1.7.14, 1.8.15, 1.9.2
Mitigation
Upgrade fedify to 1.6.13 or 1.7.14 or 1.8.15 or 1.9.2 or later.
References
- Vendor advisory github.com/fedify-dev/fedify/security/advisori…
- Patch github.com/fedify-dev/fedify/commit/2bdcb24d7d…
- Patch github.com/fedify-dev/fedify/commit/bf2f078363…
4 more
- Release notes github.com/fedify-dev/fedify/releases/tag/1.6.…
- Release notes github.com/fedify-dev/fedify/releases/tag/1.7.…
- Release notes github.com/fedify-dev/fedify/releases/tag/1.8.…
- Release notes github.com/fedify-dev/fedify/releases/tag/1.9.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.