Skip to content

Defender Daily

GitLab flaw lets attackers run code on servers without a login

Affected
Self-managed GitLab CE and EE from 7.0 before 18.11.13, and each branch from 19.0 to 19.5 before its fix. All versions and fixes

A flaw in GitLab Community and Enterprise Edition, , could let an unauthenticated attacker run code on the server through a specially crafted regular expression, GitLab says. It rates the integer overflow 10.0 and fixed it on Oct 21 in releases for seven branches. GitLab.com already runs the fix, and GitLab hasn’t said whether anyone has exploited the flaw.

GitLab says the flaw affects every self-managed version from 7.0, under conditions it doesn’t describe. It names no deployment type, which in its advisories means every type is affected. GitLab Dedicated tenants on 19.3.5-internal0, 19.4.2-internal0 or later already have the fix. GitLab backported it to 18.11, 19.0, 19.1 and 19.2 beyond its usual patch releases, and it makes each security issue public on its tracker 90 days after the fix.

GitLab released two threat detections for self-managed instances to spot exploitation attempts, named Onigmo native worker crash and Org mode render error burst. The same releases fix 11 other flaws. The most serious, rated 8.2, lets a signed-in user take over an LDAP-backed account when OmniAuth SAML and LDAP auto-linking are both turned on.

The patch includes database migrations. GitLab says single-node instances will be down during the upgrade until the migrations finish, while multi-node instances can take the patch without downtime by following its zero-downtime upgrade procedure. A researcher reported the flaw through GitLab’s HackerOne bug bounty program, and GitLab hasn’t published technical details.

CVE
Vendor
GitLab

What to do

4 steps

Affected and fixed versions

  • Product
    GitLab CE and EE 19.5
    Affected
    Before 19.5.1
    Fixed
    19.5.1
  • Product
    GitLab CE and EE 19.4
    Affected
    Before 19.4.3
    Fixed
    19.4.3
  • Product
    GitLab CE and EE 19.3
    Affected
    Before 19.3.6
    Fixed
    19.3.6
  • Product
    GitLab CE and EE 19.2
    Affected
    Before 19.2.9
    Fixed
    19.2.9
  • Product
    GitLab CE and EE 19.1
    Affected
    Before 19.1.9
    Fixed
    19.1.9
  • Product
    GitLab CE and EE 19.0
    Affected
    Before 19.0.10
    Fixed
    19.0.10
  • Product
    GitLab CE and EE 18.11 and earlier
    Affected
    7.0 before 18.11.13
    Fixed
    18.11.13
  • Product
    GitLab Dedicated
    Affected
    Earlier versions
    Fixed
    19.3.5-internal0, 19.4.2-internal0 or later
  • Product
    GitLab.com
    Affected
    Already patched
    Fixed
    No action needed

Sources

Tags

Subscribe

Get the Daily Brief by email

Weekdays around 6am ET. Signups open soon.

This form doesn’t save your address. Check back when signups open.