Skip to content

Defender Daily

GitLab flaw that lets attackers run code on servers now has a public exploit

· Updated

Affected
GitLab CE and EE 19.4 before 19.4.2, 19.3 before 19.3.5 and 19.2 before 19.2.8. All versions and fixes

Update, : Alpine Linux said on Oct 28 that an attacker tried the flaw on its unpatched GitLab server on Oct 20 and 21. CISA added the flaw to KEV on Oct 29. Alpine says installs running their own Ruby also need a fixed Ruby, since GitLab’s fix patches the Ruby in its own packages.

On Oct 16, Rapid7 published an exploit for , a flaw in GitLab Community Edition and Enterprise Edition that lets an attacker run code on a GitLab server. In Rapid7’s tests on GitLab 19.4.1, the exploit runs commands as the git account, but its setup needs push access to a public project. Rapid7 says that conflicts with GitLab’s rating of no privileges required, and neither company has reported exploitation. GitLab fixed the flaw on Oct 12 in versions 19.4.2, 19.3.5 and 19.2.8 and gives it a CVSS 3.1 score of 10.0.

Vendor
GitLab

What to do

3 steps

Affected and fixed versions

  • Product
    GitLab CE and EE 19.4
    Affected
    19.4 before 19.4.2
    Fixed
    19.4.2 or later
  • Product
    GitLab CE and EE 19.3
    Affected
    19.3 before 19.3.5
    Fixed
    19.3.5 or later
  • Product
    GitLab CE and EE 19.2
    Affected
    19.2 before 19.2.8
    Fixed
    19.2.8 or later

Timeline

  1. Oct 12GitLab releases 19.4.2, 19.3.5 and 19.2.8 with the fix.
  2. Oct 16Rapid7 publishes its analysis and an exploit.
  3. Oct 20–21An attacker tries the flaw against Alpine Linux’s unpatched GitLab server.
  4. Oct 23Ruby releases 3.3.13, 3.4.12 and 4.0.9 with the underlying fix.
  5. Oct 28Alpine Linux discloses the attempt.
  6. Oct 29CISA adds the flaw to KEV.

Sources

Tags

Subscribe

Get the Daily Brief by email

Weekdays at 7am ET.

We’ll email you a link to confirm. Unsubscribe from any email.