CVE-2024-3958

Improper Control of Generation of Code ('Code Injection') in GitLab

MEDIUM
6.5
CVSS Score
Published: August 8, 2024 at 10:31 AM UTC
Updated: June 17, 2026 at 07:45 AM UTC
1 product affected across 1 vendorGitLab

Using GitLab by GitLab?

Get instant alerts when new vulnerabilities affect GitLab - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 17.0.617.1 ≤ v < 17.1.417.1.0 ≤ v < 17.1.417.2 ≤ v < 17.2.217.2.0 ≤ v < 17.2.217.117.2
Affected range stops below 17.0.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 17.1.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 17.2.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (2)

Issue TrackingPermissions RequiredBroken Link
https://gitlab.com/gitlab-org/gitlab/-/issues/456988
Technical DescriptionExploitPermissions Required
https://hackerone.com/reports/2437784

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-94

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card