CVE-2024-3958
published medium CVSS 3.1 · 5.3Improper Control of Generation of Code ('Code Injection') in GitLab
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitLab | — | GitLab0 to < 17.0.6 · 17.1 to < 17.1.4 · 17.2 to < 17.2.2 · Other versions: unaffected | Affected | Not stated | GitLab |
Description
An issue has been discovered in GitLab CE/EE affecting all versions before 17.0.6, 17.1 prior to 17.1.4, and 17.2 prior to 17.2.2. An issue was found that allows someone to abuse a discrepancy between the Web application display and the git command line interface to social engineer victims into cloning non-trusted code.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitLab · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitLab | GitLab | 0 to < 17.0.6 (affected · semver)17.1 to < 17.1.4 (affected · semver)17.2 to < 17.2.2 (affected · semver)Default: unaffected | GitLab · cna |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
2- GitLab Issue #456988 https://gitlab.com/gitlab-org/gitlab/-/issues/456988
- HackerOne Bug Bounty Report #2437784 https://hackerone.com/reports/2437784
Provider assertions
2GitLab · cna
Improper Control of Generation of Code ('Code Injection') in GitLab
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b3f02155b13acb604d0f7a48a4e0df294e111709d2f55de6fe815937dc76b1fa
- Ingested
- 23 Sep 2026, 08:25:48 UTC
- Source record
- Official CVE record