CVE-2021-39935 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

An issue has been discovered in GitLab CE/EE affecting all versions starting from 10.5 before 14.3.6, all versions starting from 14.4 before 14.4.4, all versions starting from 14.5 before 14.5.2. Unauthorized external users could perform Server Side Requests via the CI Lint API

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