{"id":"CVE-2024-8640","state":"PUBLISHED","title":"Improper Neutralization of Special Elements used in a Command ('Command Injection') in GitLab","description":"An issue has been discovered in GitLab EE affecting all versions starting from 16.11 prior to 17.1.7, from 17.2 prior to 17.2.5, and from 17.3 prior to 17.3.2. Due to incomplete input filtering, it was possible to inject commands into a connected Cube server.","publishedAt":"2024-09-12T16:56:23.356Z","updatedAt":"2024-09-13T14:13:28.966Z","severity":{"score":8.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"GitLab"},"assigner":"GitLab","products":["GitLab GitLab"],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"16.11","status":"affected","lessThan":"17.1.7","versionType":"semver"},{"version":"17.2","status":"affected","lessThan":"17.2.5","versionType":"semver"},{"version":"17.3","status":"affected","lessThan":"17.3.2","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":["https://gitlab.com/gitlab-org/gitlab/-/issues/486213","https://hackerone.com/reports/2687770","https://about.gitlab.com/releases/2024/09/11/patch-release-gitlab-17-3-2-released/"],"weaknesses":["CWE-77"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/8xxx/CVE-2024-8640.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-8640","state":"PUBLISHED","datePublished":"2024-09-12T16:56:23.356Z","dateUpdated":"2024-09-13T14:13:28.966Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2024-09-09T22:30:35.372Z"},"containers":{"cna":{"title":"Improper Neutralization of Special Elements used in a Command ('Command Injection') in GitLab","descriptions":[{"lang":"en","value":"An issue has been discovered in GitLab EE affecting all versions starting from 16.11 prior to 17.1.7, from 17.2 prior to 17.2.5, and from 17.3 prior to 17.3.2. Due to incomplete input filtering, it was possible to inject commands into a connected Cube server."}],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"16.11","status":"affected","lessThan":"17.1.7","versionType":"semver"},{"version":"17.2","status":"affected","lessThan":"17.2.5","versionType":"semver"},{"version":"17.3","status":"affected","lessThan":"17.3.2","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/486213","name":"GitLab Issue #486213","tags":["issue-tracking","permissions-required"]},{"url":"https://hackerone.com/reports/2687770","name":"HackerOne Bug Bounty Report #2687770","tags":["technical-description","exploit","permissions-required"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","lang":"en","description":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitLab","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateUpdated":"2024-09-12T16:56:23.356Z"},"solutions":[{"lang":"en","value":"Upgrade to version 17.1.7, 17.2.5 or 17.3.2"}],"credits":[{"lang":"en","value":"Thanks [joaxcar](https://hackerone.com/joaxcar) for reporting this vulnerability through our HackerOne bug bounty program","type":"finder"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-12T17:29:55.753120Z","id":"CVE-2024-8640","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-12T17:30:16.253Z"}},{"title":"CVE Program Container","references":[{"url":"https://about.gitlab.com/releases/2024/09/11/patch-release-gitlab-17-3-2-released/"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-09-13T14:13:28.966Z"}}]}}}