{"id":"CVE-2023-4008","aliases":["BIT-gitlab-2023-4008","UBUNTU-CVE-2023-4008"],"summary":"Incorrect Ownership Assignment in GitLab","published_at":"2023-08-03T00:00:00Z","modified_at":"2026-06-02T04:12:58.974Z","products":[{"slug":"gitlab","name":"GitLab CE/EE","category":"gitops-cicd"}],"rating":{"severity":"critical","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0070500001311302185,"percentile":0.5410400032997131,"date":"2026-11-19T00:00:00Z"},"priority":11.8,"details":"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.","affected_stack":[{"ecosystem":"CVE","package":"GitLab/GitLab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"15.9"},{"fixed":"16.0.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.1"},{"fixed":"16.1.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.2"},{"fixed":"16.2.2"}]}],"fixed":["16.0.8","16.1.3","16.2.2"],"provider":"cvelistv5","source":"CVE-2023-4008","relation":"self"},{"ecosystem":"NVD","package":"gitlab:gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"15.9.0"},{"fixed":"16.0.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"15.9.0"},{"fixed":"16.0.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.1"},{"fixed":"16.1.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.1"},{"fixed":"16.1.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.2"},{"fixed":"16.2.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.2"},{"fixed":"16.2.2"}]}],"fixed":["16.0.8","16.0.8","16.1.3","16.1.3","16.2.2","16.2.2"],"provider":"nvd","source":"CVE-2023-4008","relation":"self"}],"affected_other":[{"ecosystem":"Bitnami","package":"gitlab","purl":"pkg:bitnami/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"}]}],"fixed":["16.0.8","16.1.3","16.2.2"],"provider":"osv","source":"BIT-gitlab-2023-4008","relation":"self"},{"ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","purl":"pkg:deb/ubuntu/gitlab@8.5.8+dfsg-5?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"],"provider":"osv","source":"UBUNTU-CVE-2023-4008","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-console"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-4008"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-1945","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1945","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-08-01T22:00:00Z","modified_at":"2023-08-02T22:00:00Z","summary":"GitLab: Mehrere Schwachstellen","details":"Ein entfernter, anonymer Angreifer kann eine Schwachstelle in GitLab ausnutzen, um einen Denial-of-Service-Zustand zu verursachen, einen Cross-Site-Scripting-Angriff durchzuführen, vertrauliche Informationen preiszugeben, Dateien zu manipulieren oder beliebigen Code auszuführen.\n\nGitLab ist eine Webanwendung zur Versionsverwaltung für Softwareprojekte auf Basis von git.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2023-1945"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1945.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1945"},{"type":"WEB","url":"https://about.gitlab.com/releases/2023/08/01/security-release-gitlab-16-2-2-released/"}]},{"provider":"cvelistv5","source_id":"CVE-2023-4008","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2023-4008","license":"CC-BY-4.0","published_at":"2023-08-03T06:31:21.677Z","modified_at":"2026-06-02T04:12:58.974Z","summary":"Incorrect Ownership Assignment in GitLab","details":"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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"CVE-2023-4008"}],"affected":[{"ecosystem":"CVE","package":"GitLab/GitLab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"15.9"},{"fixed":"16.0.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.1"},{"fixed":"16.1.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.2"},{"fixed":"16.2.2"}]}],"fixed":["16.0.8","16.1.3","16.2.2"],"provider":"cvelistv5","source":"CVE-2023-4008","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/415942"}]},{"provider":"nvd","source_id":"CVE-2023-4008","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4008","severity":[],"affected":[{"ecosystem":"NVD","package":"gitlab:gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"15.9.0"},{"fixed":"16.0.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"15.9.0"},{"fixed":"16.0.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.1"},{"fixed":"16.1.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.1"},{"fixed":"16.1.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.2"},{"fixed":"16.2.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.2"},{"fixed":"16.2.2"}]}],"fixed":["16.0.8","16.0.8","16.1.3","16.1.3","16.2.2","16.2.2"],"provider":"nvd","source":"CVE-2023-4008","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-gitlab-2023-4008","relation":"self","url":"https://osv.dev/vulnerability/BIT-gitlab-2023-4008","license":"Apache-2.0","published_at":"2024-03-06T11:00:30.961Z","modified_at":"2025-05-20T10:02:07.006Z","summary":"Incorrect Ownership Assignment in GitLab","details":"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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"BIT-gitlab-2023-4008"}],"affected":[{"ecosystem":"Bitnami","package":"gitlab","purl":"pkg:bitnami/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"}]}],"fixed":["16.0.8","16.1.3","16.2.2"],"provider":"osv","source":"BIT-gitlab-2023-4008","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/415942"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4008"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2023-4008","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2023-4008","license":"CC-BY-SA-4.0","published_at":"2023-08-03T07:15:00Z","modified_at":"2025-10-24T05:01:27Z","details":"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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"UBUNTU-CVE-2023-4008"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"UBUNTU-CVE-2023-4008"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2023-4008"}],"affected":[{"ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","purl":"pkg:deb/ubuntu/gitlab@8.5.8+dfsg-5?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"],"provider":"osv","source":"UBUNTU-CVE-2023-4008","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-4008"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-4008"}]},{"provider":"redhat-vex","source_id":"CVE-2023-4008","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2023-4008","license":"CC-BY-4.0","published_at":"2023-08-03T00:00:00Z","modified_at":"2023-10-09T17:57:01.527563Z","summary":"gitlab: Pages Takeover with random String","details":"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":[{"type":"Red Hat","score":"Moderate","source":"CVE-2023-4008"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-console"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-4008"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-4008.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-4008"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2228987"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-4008"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4008"}]}],"references":[{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/415942"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4008"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-4008"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-4008"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-4008.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-4008"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2228987"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-1945","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1945","license":"TLP:CLEAR, mirroring permitted","modified_at":"2023-08-02T22:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2023-4008","url":"https://www.cve.org/CVERecord?id=CVE-2023-4008","license":"CC-BY-4.0","modified_at":"2026-06-02T04:12:58.974Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2023-4008","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4008","relation":"self"},{"provider":"osv","source_id":"BIT-gitlab-2023-4008","url":"https://osv.dev/vulnerability/BIT-gitlab-2023-4008","license":"Apache-2.0","modified_at":"2025-05-20T10:02:07.006Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2023-4008","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2023-4008","license":"CC-BY-SA-4.0","modified_at":"2025-10-24T05:01:27Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2023-4008","url":"https://access.redhat.com/security/cve/CVE-2023-4008","license":"CC-BY-4.0","modified_at":"2023-10-09T17:57:01.527563Z","relation":"self"}]}
