{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-39687",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-06-27T18:44:13.035Z",
        "datePublished": "2024-07-05T17:39:34.963Z",
        "dateUpdated": "2024-08-02T04:26:16.081Z"
    },
    "containers": {
        "cna": {
            "title": "Fedify vulnerable to allowing access to internal network resources",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-918",
                            "lang": "en",
                            "description": "CWE-918: Server-Side Request Forgery (SSRF)",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 7.2,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "CHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/dahlia/fedify/security/advisories/GHSA-p9cg-vqcc-grcx",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/dahlia/fedify/security/advisories/GHSA-p9cg-vqcc-grcx"
                },
                {
                    "name": "https://github.com/dahlia/fedify/commit/30f9cf4a175704a04c874f3ea88414c5f1e00b28",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/dahlia/fedify/commit/30f9cf4a175704a04c874f3ea88414c5f1e00b28"
                },
                {
                    "name": "https://github.com/dahlia/fedify/commit/c641e976089dd913f649889c1bfb016df04e86ba",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/dahlia/fedify/commit/c641e976089dd913f649889c1bfb016df04e86ba"
                }
            ],
            "affected": [
                {
                    "vendor": "dahlia",
                    "product": "fedify",
                    "versions": [
                        {
                            "version": "< 0.9.2",
                            "status": "affected"
                        },
                        {
                            "version": "= 0.10.0",
                            "status": "affected"
                        },
                        {
                            "version": "= 0.11.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-07-05T17:39:34.963Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-p9cg-vqcc-grcx",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "affected": [
                    {
                        "vendor": "dahlia",
                        "product": "fedify",
                        "cpes": [
                            "cpe:2.3:a:dahlia:fedify:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0",
                                "status": "affected",
                                "lessThanOrEqual": "0.11.0",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-07-08T15:48:50.407594Z",
                                "id": "CVE-2024-39687",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-07-08T15:50:53.031Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T04:26:16.081Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/dahlia/fedify/security/advisories/GHSA-p9cg-vqcc-grcx",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/dahlia/fedify/security/advisories/GHSA-p9cg-vqcc-grcx"
                    },
                    {
                        "name": "https://github.com/dahlia/fedify/commit/30f9cf4a175704a04c874f3ea88414c5f1e00b28",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/dahlia/fedify/commit/30f9cf4a175704a04c874f3ea88414c5f1e00b28"
                    },
                    {
                        "name": "https://github.com/dahlia/fedify/commit/c641e976089dd913f649889c1bfb016df04e86ba",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/dahlia/fedify/commit/c641e976089dd913f649889c1bfb016df04e86ba"
                    }
                ]
            }
        ]
    }
}