CVE-2021-22175: GitLab Server-Side Request Forgery (SSRF) Vulnerability

Published Jun 11, 2021
·
Updated

GitLab contains a server-side request forgery (SSRF) vulnerability when requests to the internal network for webhooks are enabled.

Other sources

When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab affecting all versions starting from 10.5 was possible to exploit for an unauthenticated attacker even on a GitLab instance where registration is disabled

MITRE

Affected Software

7 affected components
GitLab GitLab>=10.5.0<13.6.7
GitLab GitLab>=10.5.0<13.6.7
GitLab GitLab>=13.7.0<13.7.7
GitLab GitLab>=13.7.0<13.7.7
GitLab GitLab>=13.8.0<13.8.4
GitLab GitLab>=13.8.0<13.8.4
GitLab GitLab

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Disable 'requests to the internal network for webhooks' in GitLab so webhooks cannot make requests to the internal network (preventing the SSRF condition when webhooks are allowed to reach internal addresses).

    GitLab requests to the internal network for webhooks = disabled
  2. Compensating control

    Discontinue use of the product (GitLab) if mitigations are unavailable.

  3. Operational

    Inventory GitLab instances running versions starting from 10.5 and verify whether 'requests to the internal network for webhooks' is enabled; for any instance (version >= 10.5) with the setting enabled, disable it.

Event History

Jun 11, 2021
CVE Published
via MITRE·03:30 PM
Data Sourced
via MITRE·03:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Feb 18, 2026
Known Exploited
via CISA·12:00 AM
Data Sourced
via CISA·12:00 AM
RemedyDescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-22175?

CVE-2021-22175 is classified as a high severity vulnerability due to its potential for server-side request forgery by unauthenticated attackers.

2

How do I fix CVE-2021-22175?

To fix CVE-2021-22175, upgrade GitLab to version 13.8.4 or later.

3

Which versions of GitLab are affected by CVE-2021-22175?

CVE-2021-22175 affects GitLab versions from 10.5.0 up to and including 13.8.3.

4

Can CVE-2021-22175 be exploited without authentication?

Yes, CVE-2021-22175 can be exploited by unauthenticated attackers even if registration is disabled on the GitLab instance.

5

What type of vulnerability is CVE-2021-22175?

CVE-2021-22175 is a server-side request forgery (SSRF) vulnerability.

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