CVE-2024-5528 Incomplete Comparison with Missing Factors in GitLab

Low 3.5 Published Updated

Attackers can perform subdomain takeover in GitLab Pages due to incomplete comparison logic, potentially leading to account takeover.

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

What is CVE-2024-5528?

CVE-2024-5528 is a low-severity missing authorization vulnerability in Gitlab Gitlab, published on 5 Feb 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

An issue was discovered in GitLab CE/EE affecting all versions prior to 16.11.6, starting from 17.0 prior to 17.0.4, and starting from 17.1 prior to 17.1.2, which allows a subdomain takeover in GitLab Pages.

Weakness: CWE-697, CWE-1023

Which versions are affected by CVE-2024-5528?

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

PackageAffectedFixed in
gitlab BitnamiAll versions17.1.2

Products include Gitlab Gitlab.

How do I fix CVE-2024-5528?

Upgrade gitlab to 17.1.2 or later.

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

Is CVE-2024-5528 being exploited?

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

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2024-5528, GHSA-89fg-r5w5-hh2w, UBUNTU-CVE-2024-5528.

Is CVE-2024-5528 in your software?

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

Check your SBOMs for free