{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-6502",
        "assignerOrgId": "ceab7361-8a18-47b1-92ba-4d7d25f6715a",
        "state": "PUBLISHED",
        "assignerShortName": "GitLab",
        "dateReserved": "2024-07-04T06:30:42.422Z",
        "datePublished": "2024-08-22T15:30:52.480Z",
        "dateUpdated": "2024-08-29T15:05:00.518Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "cpes": [
                        "cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "product": "GitLab",
                    "repo": "git://git@gitlab.com:gitlab-org/gitlab.git",
                    "vendor": "GitLab",
                    "versions": [
                        {
                            "lessThan": "17.1.6",
                            "status": "affected",
                            "version": "8.2",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "17.2.4",
                            "status": "affected",
                            "version": "17.2",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "17.3.1",
                            "status": "affected",
                            "version": "17.3",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Thanks [st4nly0n](https://hackerone.com/st4nly0n) for reporting this vulnerability through our HackerOne bug bounty program"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "An issue was discovered in GitLab CE/EE affecting all versions starting from 8.2 prior to 17.1.6 starting from 17.2 prior to 17.2.4, and starting from 17.3 prior to 17.3.1, which allows an attacker to create a branch with the same name as a deleted tag."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 5.7,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-684",
                            "description": "CWE-684: Incorrect Provision of Specified Functionality",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "ceab7361-8a18-47b1-92ba-4d7d25f6715a",
                "shortName": "GitLab",
                "dateUpdated": "2024-08-29T15:05:00.518Z"
            },
            "references": [
                {
                    "name": "GitLab Issue #470647",
                    "tags": [
                        "issue-tracking",
                        "permissions-required"
                    ],
                    "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/470647"
                },
                {
                    "name": "HackerOne Bug Bounty Report #2574561",
                    "tags": [
                        "technical-description",
                        "exploit",
                        "permissions-required"
                    ],
                    "url": "https://hackerone.com/reports/2574561"
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "value": "Upgrade to versions 17.1.6, 17.2.4, 17.3.1 or above."
                }
            ],
            "title": "Incorrect Provision of Specified Functionality in GitLab"
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-08-22T19:54:04.083201Z",
                                "id": "CVE-2024-6502",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-08-22T19:54:18.624Z"
                }
            }
        ]
    }
}