{"id":"CVE-2023-4008","aliases":["BIT-gitlab-2023-4008","EUVD-2023-53901","GHSA-29hm-v8p9-7mcg","UBUNTU-CVE-2023-4008"],"status":"published","title":"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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00705,"percentile":0.53614,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-367","CWE-708"],"published":"2023-08-03T06:31:21Z","modified":"2026-10-30T10:46:36Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["16.0.8","16.1.3","16.2.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"15.9.0"},{"fixed":"16.0.8"},{"introduced":"16.1.0"},{"fixed":"16.1.3"},{"introduced":"16.2.0"},{"fixed":"16.2.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"]}],"products":[{"vendor":"gitlab","product":"gitlab"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/415942","tags":["issue-tracking","x_transferred","Broken Link","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4008","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-29hm-v8p9-7mcg"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4008.json","tags":["advisory"]},{"url":"git://git@gitlab.com:gitlab-org/gitlab.git","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2023-4008","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-4008","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-4008","title":"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.","status":"published","published":"2023-08-03T06:31:21.677Z","modified":"2026-06-02T04:12:58.974Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-708"],"updated_at":"2026-11-02T14:35:30.851125Z"}],"euvd":[{"id":"EUVD-2023-53901","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.","status":"published","published":"2023-08-03T06:31:21Z","modified":"2026-06-02T04:12:58Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T18:20:57.453624Z"}],"ghsa":[{"id":"GHSA-29hm-v8p9-7mcg","title":"An issue has been discovered in GitLab CE/EE affecting all versions starting from 15.9 before 16...","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.","status":"published","published":"2023-08-03T09:30:16Z","modified":"2024-10-03T09:31:40Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-367","CWE-708"],"updated_at":"2026-11-02T14:58:24.112371Z"}],"nvd":[{"id":"CVE-2023-4008","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.","status":"published","published":"2023-08-03T07:15:13.19Z","modified":"2026-06-17T06:36:54.15Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-708"],"updated_at":"2026-11-02T14:08:20.798312Z"}],"osv":[{"id":"CVE-2023-4008","title":"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.","status":"published","published":"2023-08-03T06:31:21.677Z","modified":"2026-10-30T10:46:36.106075653Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-708"],"updated_at":"2026-11-02T15:44:33.244128Z"},{"id":"UBUNTU-CVE-2023-4008","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.","status":"published","published":"2023-08-03T07:15:00Z","modified":"2025-10-24T05:01:27Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T16:54:22.741943Z"},{"id":"BIT-gitlab-2023-4008","title":"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.","status":"published","published":"2024-03-06T11:00:30.961Z","modified":"2025-05-20T10:02:07.006Z","updated_at":"2026-11-02T15:28:30.405543Z"}]}}
