Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-3958 EUVD-2024-32524GHSA-f8rc-7cqg-v9mm

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

Published Aug 8, 2024 · Updated Sep 17, 2024 · Assigned by 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.

Affected products

VendorProductAffectedFixed
GitLab GitLab < 17.0.6, 17.1 – < 17.1.4, 17.2 – < 17.2.2 17.0.6

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS gitlab No fix yet —

Advisories 2

References