{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2021-39908",
        "ASSIGNER": "cve@gitlab.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "GitLab",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "GitLab",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": ">=0.8.0, <14.2.6"
                                        },
                                        {
                                            "version_value": ">=14.3, <14.3.4"
                                        },
                                        {
                                            "version_value": ">=14.4, <14.4.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Improper control of generation of code ('code injection') in GitLab"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://gitlab.com/gitlab-org/gitlab/-/issues/337193",
                "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/337193",
                "refsource": "MISC"
            },
            {
                "name": "https://hackerone.com/reports/1280077",
                "url": "https://hackerone.com/reports/1280077",
                "refsource": "MISC"
            },
            {
                "name": "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39908.json",
                "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39908.json",
                "refsource": "CONFIRM"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "In all versions of GitLab CE/EE starting from 0.8.0 before 14.2.6, all versions starting from 14.3 before 14.3.4, and all versions starting from 14.4 before 14.4.1 certain Unicode characters can be abused to commit malicious code into projects without being noticed in merge request or source code viewer 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 @nickboucher, for reporting this vulnerability through our HackerOne bug bounty program"
        }
    ]
}