CVE-2024-1299 Privilege Chaining in GitLab

Medium 6.5 Published Updated

A user with manage_group_access_tokens role can rotate group access tokens with owner privileges, leading to privilege escalation.

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

What is CVE-2024-1299?

CVE-2024-1299 is a medium-severity vulnerability in Gitlab Gitlab, published on 7 Mar 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A privilege escalation vulnerability was discovered in GitLab affecting versions 16.8 prior to 16.8.4 and 16.9 prior to 16.9.2. It was possible for a user with custom role of `manage_group_access_tokens` to rotate group access tokens with owner privileges.

Weakness: CWE-268

Which versions are affected by CVE-2024-1299?

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

PackageAffectedFixed in
gitlab BitnamiFrom 16.8.016.8.4, 16.9.2

Products include Gitlab Gitlab.

How do I fix CVE-2024-1299?

Upgrade gitlab to a fixed version for your release line: 16.8.4 or 16.9.2.

Is CVE-2024-1299 being exploited?

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

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2024-1299, GHSA-27h4-9w4j-cp97, UBUNTU-CVE-2024-1299.

Is CVE-2024-1299 in your software?

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

Check your SBOMs for free