MEDIUM

CVE-2020-26414

Gitlab GitLab 2021-01-15 CVSS v3.1
CVSS
6.5

Description

An issue has been discovered in GitLab affecting all versions starting from 12.4. The regex used for package names is written in a way that makes execution time have quadratic growth based on the length of the malicious input string.

Summary dbcve.org

This is a ReDoS (Regular Expression Denial of Service) vulnerability in GitLab's package name validation. The regex used to validate package names exhibits quadratic backtracking behavior, meaning execution time grows with the square of input length. An attacker can provide a specially crafted long input string to cause excessive CPU consumption and potentially crash the service.

Mitigation

Upgrade GitLab to the patched version. As a temporary measure, implement input length restrictions or rate limiting on package name submissions to limit exposure to this ReDoS vector.

EPSS Score

1.53%
Probability of exploitation in next 30 days
73.6th 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