Skip to main content

GitLab

GitLab Server-side Request Forgery (SSRF) Vulnerability

CVE-2021-22175

What this means

This is rated medium severity (6.8 out of 10). It is on the known-exploited catalogue, which means attacks using it have already been seen. Ask IT whether Gitlab Gitlab is in your estate.

Full vendor description

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

Scoring and exploitation

6.8/ 10
CVSS 3.1 base scoreMedium

Exploitable over the network without any account, under specific conditions, and no one has to click or open anything. High impact on confidentiality, and it can reach beyond the vulnerable system.

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N

Exploitability

Longer bar: easier to attack

Attack vectorNetworkAV:N
Attack complexityHighAC:H
Privileges requiredNonePR:N
User interactionNoneUI:N
ScopeChangedS:C

Impact

Longer bar: more harm

ConfidentialityHighC:H
IntegrityNoneI:N
AvailabilityNoneA:N
Elevated attack likelihood (~53.4% in 30 days)Model estimate (): a probability signal, not confirmed exploitation
Exploited in the wild
Yes — confirmed exploitation (US CISA )
Not reported
Listed product
GitLab

Weaknesses

CWE-918

Affected products ()

  • Gitlab Gitlab
Show the raw CPE strings (2)
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*

References

7 links from the CVE record, grouped by site; the vendor's advisory comes first.

  • Type Vulnerability

    GitLab contains a server-side request forgery (SSRF) vulnerability when requests to the internal network for webhooks are enabled. Known-exploited catalogue reports exploitation in the wild.

    Next step: Confirm whether GitLab Runner is in your estate.

    Who's reporting

    1 of 3 perspectives

    Official authority: Official 1Vendor statement missing. no VendorResearcher coverage missing. no Researcher1 signal

    Only official coverage so far. Treat as an early signal.

    CVE-2021-22175