Description
Fedify is a TypeScript library for building federated server apps powered by ActivityPub. Prior to 1.9.6, 1.10.5, 2.0.8, and 2.1.1, @fedify/fedify follows HTTP redirects recursively in its remote document loader and authenticated document loader without enforcing a maximum redirect count or visited-URL loop detection. An attacker who controls a remote ActivityPub key or actor URL can force a server using Fedify to make repeated outbound requests from a single inbound request, leading to resource consumption and denial of service. This vulnerability is fixed in 1.9.6, 1.10.5, 2.0.8, and 2.1.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| @fedify | fedify | < 1.9.6, >= 1.10.0, < 1.10.5, >= 2.0.0, < 2.0.8, >= 2.1.0, < 2.1.1 | — |
| @fedify | vocab-runtime | < 2.0.8, >= 2.1.0, < 2.1.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @fedify/fedify | < 1.9.6 | 1.9.6 | GHSA-gm9m-gwc4-hwgp |
| npm | @fedify/fedify | >= 1.10.0, < 1.10.5 | 1.10.5 | GHSA-gm9m-gwc4-hwgp |
| npm | @fedify/fedify | >= 2.0.0, < 2.0.8 | 2.0.8 | GHSA-gm9m-gwc4-hwgp |
| npm | @fedify/fedify | >= 2.1.0, < 2.1.1 | 2.1.1 | GHSA-gm9m-gwc4-hwgp |
| npm | @fedify/vocab-runtime | < 2.0.8 | 2.0.8 | GHSA-gm9m-gwc4-hwgp |
| npm | @fedify/vocab-runtime | >= 2.1.0, < 2.1.1 | 2.1.1 | GHSA-gm9m-gwc4-hwgp |
References
- https://github.com/fedify-dev/fedify/security/advisories/GHSA-gm9m-gwc4-hwgp
- https://github.com/fedify-dev/fedify/releases/tag/1.10.5
- https://github.com/fedify-dev/fedify/releases/tag/1.9.6
- https://github.com/fedify-dev/fedify/releases/tag/2.0.8
- https://github.com/fedify-dev/fedify/releases/tag/2.1.1