{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2022-3758",
        "ASSIGNER": "cve@gitlab.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "GitLab",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "GitLab",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": ">=15.5, <15.7.8"
                                        },
                                        {
                                            "version_value": ">=15.8, <15.8.4"
                                        },
                                        {
                                            "version_value": ">=15.9, <15.9.2"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Authorization bypass through user-controlled key in GitLab"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://gitlab.com/gitlab-org/gitlab/-/issues/379598",
                "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/379598",
                "refsource": "MISC"
            },
            {
                "name": "https://hackerone.com/reports/1751258",
                "url": "https://hackerone.com/reports/1751258",
                "refsource": "MISC"
            },
            {
                "name": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-3758.json",
                "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-3758.json",
                "refsource": "CONFIRM"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "An issue has been discovered in GitLab affecting all versions starting from 15.5 before 15.7.8, all versions starting from 15.8 before 15.8.4, all versions starting from 15.9 before 15.9.2. Due to improper permissions checks an unauthorised user was able to read, add or edit a users private snippet."
            }
        ]
    },
    "impact": {
        "cvss": {
            "vectorString": "AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "version": "3.1",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM"
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Thanks [cryptopone](https://hackerone.com/cryptopone) for reporting this vulnerability through our HackerOne bug bounty program"
        }
    ]
}