CVE-2024-39687
Fedify is a TypeScript library for building federated server apps …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/dahlia/fedify/commit/30f9cf4a175704a04c874f3ea88414c5f1e00b28
- github.com/dahlia/fedify/commit/c641e976089dd913f649889c1bfb016df04e86ba
- github.com/dahlia/fedify/security/advisories/GHSA-p9cg-vqcc-grcx
- nvd.nist.gov/vuln/detail/CVE-2024-39687
- github.com/dahlia/fedify/releases/tag/0.11.1
- github.com/advisories/GHSA-p9cg-vqcc-grcx
- nvd.nist.gov/vuln/detail/CVE-2024-39687
- cve.org/CVERecord?id=CVE-2024-39687
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.