title: Inefficient Regular Expression Complexity in GitLab
description: An issue has been discovered in GitLab CE/EE affecting all versions from 12.7 prior to 16.6.6, 16.7 prior to 16.7.4, and 16.8 prior to 16.8.1 It was possible for an attacker to trigger a Regular Expression Denial of Service via a `Cargo.toml` containing maliciously crafted input.
problem types: CWE-1333: Inefficient Regular Expression Complexity
affected:
{
vendor: GitLab
product: GitLab
repo: git://git@gitlab.com:gitlab-org/gitlab.git
versions:
version: 12.7, status: affected, lessThan: 16.6.6, versionType: semver
version: 16.7, status: affected, lessThan: 16.7.4, versionType: semver
version: 16.8, status: affected, lessThan: 16.8.1, 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:N/S:U/C:N/I:N/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: HIGH
baseScore: 6.5
baseSeverity: MEDIUM
]
solutions: Upgrade to versions 16.8.1, 16.7.4, 16.6.6 or above.