CVE-2023-5612 Missing Authorization in GitLab

Medium 5.3 Published Updated

Attackers can read user email addresses via tags feed even when profile visibility is disabled, exposing private user data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-5612?

CVE-2023-5612 is a medium-severity missing authorization vulnerability in Gitlab Gitlab, published on 26 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue has been discovered in GitLab affecting all versions before 16.6.6, 16.7 prior to 16.7.4, and 16.8 prior to 16.8.1. It was possible to read the user email address via tags feed although the visibility in the user profile has been disabled.

Weakness: CWE-862

Which versions are affected by CVE-2023-5612?

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

PackageAffectedFixed in
gitlab BitnamiAll versions16.6.6, 16.7.4, 16.8.1

Products include Gitlab Gitlab.

How do I fix CVE-2023-5612?

Upgrade gitlab to a fixed version for your release line: 16.6.6, 16.7.4 or 16.8.1.

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

Is CVE-2023-5612 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5612 exists.

Public exploit code: 1 Metasploit module and 2 proofs of concept on GitHub.

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2023-5612, GHSA-g884-f5hg-pgw8, UBUNTU-CVE-2023-5612.

Is CVE-2023-5612 in your software?

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

Check your SBOMs for free