{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-39340",
        "STATE": "PUBLIC",
        "TITLE": "OpenFGA Information Disclosure"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "openfga",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 0.2.4"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "openfga"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "OpenFGA is an authorization/permission engine. Prior to version 0.2.4, the `streamed-list-objects` endpoint was not validating the authorization header, resulting in disclosure of objects in the store. Users `openfga/openfga` versions 0.2.3 and prior who are exposing the OpenFGA service to the internet are vulnerable. Version 0.2.4 contains a patch for this issue."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-285: Improper Authorization"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/openfga/openfga/releases/tag/v0.2.4",
                "refsource": "MISC",
                "url": "https://github.com/openfga/openfga/releases/tag/v0.2.4"
            },
            {
                "name": "https://github.com/openfga/openfga/security/advisories/GHSA-95x7-mh78-7w2r",
                "refsource": "CONFIRM",
                "url": "https://github.com/openfga/openfga/security/advisories/GHSA-95x7-mh78-7w2r"
            },
            {
                "name": "https://github.com/openfga/openfga/commit/779d73d4b6d067ee042ec9b59fec707eed71e42f",
                "refsource": "MISC",
                "url": "https://github.com/openfga/openfga/commit/779d73d4b6d067ee042ec9b59fec707eed71e42f"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-95x7-mh78-7w2r",
        "discovery": "UNKNOWN"
    }
}