Vulnerability · Published Jan 20, 2025 · Assigned by GitHub_M
CVE-2025-23221Fedify has an Infinite loop and Blind SSRF found inside the Webfinger mechanism
Medium 5.4
In plain English
A medium-severity infinite loop in fedify from dahlia. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Fedify is a TypeScript library for building federated server apps powered by ActivityPub and other standards. This vulnerability allows a user to maneuver the Webfinger mechanism to perform a GET request to any internal resource on any Host, Port, URL combination regardless of present security mechanisms, and forcing the victim’s server into an infinite loop causing Denial of Service. Moreover, this issue can also be maneuvered into performing a Blind SSRF attack. This vulnerability is fixed in 1.0.14, 1.1.11, 1.2.11, and 1.3.4.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @fedify/fedify | 1.0.14 | GHSA-c59p-wq67-24wx |
| npm | @fedify/fedify | 1.1.11 | GHSA-c59p-wq67-24wx |
| npm | @fedify/fedify | 1.2.11 | GHSA-c59p-wq67-24wx |
| npm | @fedify/fedify | 1.3.4 | GHSA-c59p-wq67-24wx |
Affected products (as reported)
Weakness: CWE-835, CWE-918 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L
References
- https://github.com/dahlia/fedify/security/advisories/GHSA-c59p-wq67-24wx x_refsource_CONFIRM
- https://github.com/dahlia/fedify/commit/8be3c2038eebf4ae12481683a1e809b314be3151 x_refsource_MISC
- https://github.com/dahlia/fedify/commit/c505eb82fcd6b5b17174c6659c29721bc801ab9a x_refsource_MISC
- https://github.com/dahlia/fedify/commit/e921134dd5097586e4563ea80b9e8d1b5460a645 x_refsource_MISC