{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2022-0090",
        "ASSIGNER": "cve@gitlab.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "GitLab",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "GitLab",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "<14.4.5"
                                        },
                                        {
                                            "version_value": ">=14.5.0, <14.5.3"
                                        },
                                        {
                                            "version_value": ">=14.6.0, <14.6.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Download of code without integrity check in GitLab"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://gitlab.com/gitlab-org/gitaly/-/issues/3948",
                "url": "https://gitlab.com/gitlab-org/gitaly/-/issues/3948",
                "refsource": "MISC"
            },
            {
                "name": "https://hackerone.com/reports/1415964",
                "url": "https://hackerone.com/reports/1415964",
                "refsource": "MISC"
            },
            {
                "name": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-0090.json",
                "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-0090.json",
                "refsource": "CONFIRM"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "An issue has been discovered affecting GitLab versions prior to 14.4.5, between 14.5.0 and 14.5.3, and between 14.6.0 and 14.6.1. GitLab is configured in a way that it doesn't ignore replacement references with git sub-commands, allowing a malicious user to spoof the contents of their commits in the UI."
            }
        ]
    },
    "impact": {
        "cvss": {
            "vectorString": "AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "version": "3.1",
            "baseScore": 6.4,
            "baseSeverity": "MEDIUM"
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Thanks @star-labs for reporting this vulnerability through our HackerOne bug bounty program"
        }
    ]
}