{"id":"UBUNTU-CVE-2021-39889","details":"In all versions of GitLab EE since version 14.1, due to an insecure direct object reference vulnerability, an endpoint may reveal the protected branch name to a malicious user who makes a crafted API call with the ID of the protected branch.","modified":"2025-10-24T04:50:33Z","published":"2021-10-05T14:15:00Z","upstream":["CVE-2021-39889"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-39889"},{"type":"REPORT","url":"https://hackerone.com/reports/1294017"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/338062"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39889.json"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-39889"}],"affected":[{"package":{"name":"gitlab","ecosystem":"Ubuntu:16.04:LTS","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"],"ecosystem_specific":{"binaries":[{"binary_version":"8.5.8+dfsg-5","binary_name":"gitlab"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39889.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}