MEDIUM

CVE-2024-1493

Gitlab GitLab 2024-06-27 CVSS v3.1
CVSS
6.5

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.

Weakness (CWE)

CWE-1333

EPSS Score

0.49%
Probability of exploitation in next 30 days
41.2th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE