CVE-2023-4008

Incorrect Ownership Assignment in GitLab

Description

An issue has been discovered in GitLab CE/EE affecting all versions starting from 15.9 before 16.0.8, all versions starting from 16.1 before 16.1.3, all versions starting from 16.2 before 16.2.2. It was possible to takeover GitLab Pages with unique domain URLs if the random string added was known.

Remediation

Solution:

  • Upgrade to versions 16.2.2, 16.1.3, 16.0.8 or above.

Category

5.3
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.04%
Affected: GitLab GitLab
Published at:
Updated at:

References

Link Tags
https://gitlab.com/gitlab-org/gitlab/-/issues/415942 issue tracking broken link

Frequently Asked Questions

What is the severity of CVE-2023-4008?
CVE-2023-4008 has been scored as a medium severity vulnerability.
How to fix CVE-2023-4008?
To fix CVE-2023-4008: Upgrade to versions 16.2.2, 16.1.3, 16.0.8 or above.
Is CVE-2023-4008 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-4008 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-4008?
CVE-2023-4008 affects GitLab GitLab.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.