CVE-2024-39687 Fedify vulnerable to allowing access to internal network resources
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
Fedify is a TypeScript library for building federated server apps powered by ActivityPub and other standards. At present, when Fedify needs to retrieve an object or activity from a remote activitypub server, it makes a HTTP request to the @id or other resources present within the activity it has received from the web. This activity could reference an @id that points to an internal IP address, allowing an attacker to send request to resources internal to the fedify server's network. This applies to not just resolution of documents containing activities or objects, but also to media URLs as well. Specifically this is a Server Side Request Forgery attack. Users should upgrade to Fedify version 0.9.2, 0.10.1, or 0.11.1 to receive a patch for this issue.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| @fedify fedify(npm) | < 0.9.2; >= 0.10.0, < 0.10.2; >= 0.11.0, < 0.11.2 | 0.9.2, 0.10.2, 0.11.2 | Fixed |
| dahlia fedify | <= 0.11.0; = < 0.9.2; = = 0.10.0; = = 0.11.0 | after 0.11.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| @fedify fedify(npm) | < 0.9.2 | 0.9.2 |
| @fedify fedify(npm) | >= 0.10.0, < 0.10.2 | 0.10.2 |
| @fedify fedify(npm) | >= 0.11.0, < 0.11.2 | 0.11.2 |
| dahlia fedify | = < 0.9.2 | No fix listed |
| dahlia fedify | = = 0.10.0 | No fix listed |
| dahlia fedify | = = 0.11.0 | No fix listed |
| dahlia fedify | <= 0.11.0 | No fix listed |
References
- https://github.com/dahlia/fedify/security/advisories/GHSA-p9cg-vqcc-grcx vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/dahlia/fedify/commit/30f9cf4a175704a04c874f3ea88414c5f1e00b28 patch
- https://github.com/dahlia/fedify/commit/c641e976089dd913f649889c1bfb016df04e86ba patch
- github.com
- github.com
- github.com product