CVE-2021-39879 Missing authorization in GitLab

Low 2.2 Published Updated

An attacker with session access can disable two-factor authentication due to missing authentication checks in GitLab.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-39879?

CVE-2021-39879 is a low-severity missing authorization vulnerability in Gitlab Gitlab, published on 4 Oct 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Missing authentication in all versions of GitLab CE/EE since version 7.11.0 allows an attacker with access to a victim's session to disable two-factor authentication

Weakness: CWE-306

Which versions are affected by CVE-2021-39879?

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

PackageAffectedFixed in
gitlab BitnamiFrom 7.11.014.1.7

Products include Gitlab Gitlab.

How do I fix CVE-2021-39879?

Upgrade gitlab to 14.1.7 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2021-39879 being exploited?

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

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2021-39879, GHSA-32w9-cgpf-p2wf, UBUNTU-CVE-2021-39879.

Is CVE-2021-39879 in your software?

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

Check your SBOMs for free