GitLab CE/EE、正規表現処理の整数オーバーフローで認証なしにコードを実行される
Summary
細工された正規表現をコンパイルする際の整数オーバーフローにより、認証されていない利用者がGitLabサーバー上で任意のコードを実行できるおそれがあります。影響を受けるのは18.11.13より前、19.0.10より前、19.1.9より前、19.2.9より前、19.3.6より前、19.4.3より前、19.5.1より前のGitLab CE/EEです。修正版が公開されているため、該当するバージョンを速やかに更新してください。
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
細工された正規表現をコンパイルする際の整数オーバーフローにより、認証されていない利用者がGitLabサーバー上で任意のコードを実行できるおそれがあります。影響を受けるのは18.11.13より前、19.0.10より前、19.1.9より前、19.2.9より前、19.3.6より前、19.4.3より前、19.5.1より前のGitLab CE/EEです。修正版が公開されているため、該当するバージョンを速やかに更新してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| GitLab | GitLab |
≥ 7.0, < 18.11.13 ≥ 19.0, < 19.0.10 ≥ 19.1, < 19.1.9 ≥ 19.2, < 19.2.9 ≥ 19.3, < 19.3.6 ≥ 19.4, < 19.4.3 +1 more |
18.11.13 19.0.10 19.1.9 19.2.9 19.3.6 19.4.3 |
Original description The description as published by the source.
An issue has been discovered in GitLab CE/EE affecting all versions from 7.0 before 18.11.13, 19.0 before 19.0.10, 19.1 before 19.1.9, 19.2 before 19.2.9, 19.3 before 19.3.6, 19.4 before 19.4.3, and 19.5 before 19.5.1 that, under certain conditions, could have allowed an unauthenticated user to execute arbitrary code on the GitLab server due to integer overflow when compiling a specially crafted regular expression.
Source: GitLab Security Releases NVD GitHub Advisory
References
- web cve@gitlab.com
- web gitlab.com
- web hackerone.com
- web nvd.nist.gov
- web docs.gitlab.com
- web github.com