title: Improper Control of Generation of Code ('Code Injection') in GitLab
description: An issue has been discovered in GitLab CE/EE affecting all versions before 16.4.4, all versions starting from 16.5 before 16.5.4, all versions starting from 16.6 before 16.6.2. File integrity may be compromised when source code or installation packages are pulled from a specific tag.
problem types: CWE-94: Improper Control of Generation of Code ('Code Injection')
affected:
{
vendor: GitLab
product: GitLab
repo: git://git@gitlab.com:gitlab-org/gitlab.git
versions:
version: 0, status: affected, lessThan: 16.4.4, versionType: semver
version: 16.5, status: affected, lessThan: 16.5.4, versionType: semver
version: 16.6, status: affected, lessThan: 16.6.2, versionType: semver
defaultStatus: unaffected
}
metrics:
format: CVSS
scenarios: GENERAL
cvssV3_1: [
version: 3.1
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: REQUIRED
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: HIGH
availabilityImpact: NONE
baseScore: 5.7
baseSeverity: MEDIUM
]
solutions: Upgrade to versions 16.6.2, 16.5.4, 16.4.4 or above.