CVE-2024-39687 json
Fedify vulnerable to allowing access to internal network resources
published 2y ago modified 2mo ago also GHSA-p9cg-vqcc-grcx , EUVD-2024-2391
- cvss
- 7.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @fedify/fedify 0.9.2, 0.10.2, 0.11.2
Is CVE-2024-39687 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.60% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L |
| GitHub | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @fedify/fedify | <0.9.2 >=0.10.0, <0.10.2 >=0.11.0, <0.11.2 |
0.9.2 0.10.2 0.11.2 |
Affected products
- dahlia fedify
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/dahlia/fedify/commit/30f9cf4a175704a04c874f3ea88414c5f1e00b28
web
-
github.com
/dahlia/fedify/commit/c641e976089dd913f649889c1bfb016df04e86ba
web
-
github.com
/dahlia/fedify/security/advisories/GHSA-p9cg-vqcc-grcx
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-39687
advisory
-
github.com
/dahlia/fedify
package
-
github.com
/dahlia/fedify/releases/tag/0.11.1
web
Sources
- CVE List CVE-2024-39687
- GitHub Advisory GHSA-p9cg-vqcc-grcx
- NVD CVE-2024-39687
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.