{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-39307",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "dateUpdated": "2024-08-03T12:00:44.036Z",
        "dateReserved": "2022-09-02T00:00:00",
        "datePublished": "2022-11-09T00:00:00"
    },
    "containers": {
        "cna": {
            "title": "Grafana subject to Exposure of Sensitive Information resulting in User enumeration via forget password",
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2022-12-15T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Grafana is an open-source platform for monitoring and observability. When using the forget password on the login page, a POST request is made to the `/api/user/password/sent-reset-email` URL. When the username or email does not exist, a JSON response contains a “user not found” message. This leaks information to unauthenticated users and introduces a security risk. This issue has been patched in 9.2.4 and backported to 8.5.15. There are no known workarounds."
                }
            ],
            "affected": [
                {
                    "vendor": "grafana",
                    "product": "grafana",
                    "versions": [
                        {
                            "version": ">= v9.0.0-beta1, < 9.2.4",
                            "status": "affected"
                        },
                        {
                            "version": "< 8.5.15",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/grafana/grafana/security/advisories/GHSA-3p62-42x7-gxg5"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20221215-0004/"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "privilegesRequired": "LOW",
                        "userInteraction": "REQUIRED",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "LOW",
                        "baseScore": 6.7,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-200: Exposure of Sensitive Information to an Unauthorized Actor",
                            "cweId": "CWE-200"
                        }
                    ]
                }
            ],
            "source": {
                "advisory": "GHSA-3p62-42x7-gxg5",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T12:00:44.036Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://github.com/grafana/grafana/security/advisories/GHSA-3p62-42x7-gxg5",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20221215-0004/",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}