CVE-2021-22197: Medium severity gitlab vulnerability

Published Apr 2, 2021
·
Updated

An issue has been discovered in GitLab CE/EE affecting all versions starting from 10.6 where an infinite loop exist when an authenticated user with specific rights access a MR having source and target branch pointing to each other

Affected Software

8 affected components
GitLab GitLab>=10.6.0
GitLab GitLab>=10.6.0
GitLab GitLab>=10.6.0<13.8.7
GitLab GitLab>=10.6.0<13.8.7
GitLab GitLab>=13.9.0<13.9.5
GitLab GitLab>=13.9.0<13.9.5
GitLab GitLab>=13.10.0<13.10.1
GitLab GitLab>=13.10.0<13.10.1

Event History

Apr 2, 2021
CVE Published
via MITRE·04:21 PM
Data Sourced
via MITRE·04:21 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-22197?

CVE-2021-22197 is classified as a critical vulnerability due to the potential denial of service through an infinite loop.

2

How does CVE-2021-22197 affect GitLab users?

CVE-2021-22197 affects authenticated users with specific rights when accessing merge requests that have source and target branches pointing to each other.

3

Which versions of GitLab are impacted by CVE-2021-22197?

CVE-2021-22197 affects all GitLab versions starting from 10.6 up to and including 13.10.1.

4

How do I fix CVE-2021-22197?

To fix CVE-2021-22197, users should upgrade to a patched version of GitLab, specifically 13.10.1 or later.

5

What should I do if I cannot upgrade GitLab to mitigate CVE-2021-22197?

If upgrading is not possible, it is recommended to restrict access rights for users who can access merge requests until you can apply the necessary updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203