CVE-2021-22175 in gitlab

The LogPulse agent checks every host for the vulnerable version of this software, so you see where the CVE is present.

What the vulnerability is

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

Affected software: gitlab

Scores

What LogPulse has for it

How to mitigate it

Upgrade GitLab for legacy webhook and CI Lint SSRF (CVE-2021-22175, CVE-2021-39935)

Patch or upgrade. Old GitLab versions allow unauthenticated SSRF through webhooks and the CI Lint API. Any supported GitLab release fixes both; also turn off requests to the local network.

Applies to: GitLab CE/EE 10.5 up to 14.5.1.

  1. Check the GitLab version under Help or /help.
  2. Upgrade to a supported GitLab release (both flaws were fixed in 2021; 14.5.2 or later at minimum).
  3. Under Admin > Settings > Network > Outbound requests, turn off 'Allow requests to the local network from webhooks and integrations'.
  4. Turn off public sign-up if not needed.

Sources:

Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.

We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.

Start free with LogPulse