{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-39241",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "dateUpdated": "2024-08-03T12:00:43.541Z",
        "dateReserved": "2022-09-02T00:00:00",
        "datePublished": "2022-11-02T00:00:00"
    },
    "containers": {
        "cna": {
            "title": "Possible Server-Side Request Forgery (SSRF) in webhooks",
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2022-11-02T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Discourse is a platform for community discussion. A malicious admin could use this vulnerability to perform port enumeration on the local host or other hosts on the internal network, as well as against hosts on the Internet. Latest `stable`, `beta`, and `test-passed` versions are now patched. As a workaround, self-hosters can use `DISCOURSE_BLOCKED_IP_BLOCKS` env var (which overrides `blocked_ip_blocks` setting) to stop webhooks from accessing private IPs."
                }
            ],
            "affected": [
                {
                    "vendor": "discourse",
                    "product": "discourse",
                    "versions": [
                        {
                            "version": "<= 2.8.9",
                            "status": "affected"
                        },
                        {
                            "version": "<= 2.9.0.beta10",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/discourse/discourse/security/advisories/GHSA-rcc5-28r3-23rr"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "HIGH",
                        "userInteraction": "NONE",
                        "scope": "CHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "LOW",
                        "availabilityImpact": "NONE",
                        "baseScore": 7.6,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-918: Server-Side Request Forgery (SSRF)",
                            "cweId": "CWE-918"
                        }
                    ]
                }
            ],
            "source": {
                "advisory": "GHSA-rcc5-28r3-23rr",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T12:00:43.541Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://github.com/discourse/discourse/security/advisories/GHSA-rcc5-28r3-23rr",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}