CVE-2021-39913 Information disclosure in GitLab

Medium 4.4 Published Updated

An attacker with local file access can read the system root password from migration logs, leading to privilege escalation.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-39913?

CVE-2021-39913 is a medium-severity vulnerability in Gitlab Gitlab, published on 4 Nov 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Accidental logging of system root password in the migration log in all versions of GitLab CE/EE before 14.2.6, all versions starting from 14.3 before 14.3.4, and all versions starting from 14.4 before 14.4.1 allows an attacker with local file system access to obtain system root-level privileges

Weakness: CWE-532

Which versions are affected by CVE-2021-39913?

1 open source package ship an affected version, including gitlab. It affects 1 product.

PackageAffectedFixed in
gitlab BitnamiAll versions14.2.6, 14.3.4, 14.4.1

Products include Gitlab Gitlab.

How do I fix CVE-2021-39913?

Upgrade gitlab to a fixed version for your release line: 14.2.6, 14.3.4 or 14.4.1.

Is CVE-2021-39913 being exploited?

There is no known exploitation of CVE-2021-39913 in the wild and no public exploit code.

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2021-39913, GHSA-hw95-w73v-wf42, UBUNTU-CVE-2021-39913.

Is CVE-2021-39913 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free