CVE-2024-1493
Description
An issue was discovered in GitLab CE/EE affecting all versions starting from 9.2 prior to 16.11.5, starting from 17.0 prior to 17.0.3, and starting from 17.1 prior to 17.1.1, with the processing logic for generating link in dependency files can lead to a regular expression DoS attack on the server
Summary dbcve.org
GitLab CE/EE contains a ReDoS (Regular Expression Denial of Service) vulnerability in the processing logic for generating links in dependency files. An attacker can craft a malicious dependency file containing a specially crafted input that causes the regex processing to exhibit catastrophic backtracking, leading to excessive CPU consumption and server unavailability.
Mitigation
Upgrade GitLab to version 16.11.5, 17.0.3, 17.1.1 or later. Alternatively, implement input validation on dependency files to reject inputs with patterns known to trigger ReDoS before they reach the regex processing.