{"id":"UBUNTU-CVE-2021-39872","details":"In all versions of GitLab CE/EE since version 14.1, an improper access control vulnerability allows users with expired password to still access GitLab through git and API through access tokens acquired before password expiration.","modified":"2025-10-24T04:50:33Z","published":"2021-10-05T13:15:00Z","upstream":["CVE-2021-39872"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-39872"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39872.json"},{"type":"REPORT","url":"https://hackerone.com/reports/1285226"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/337954"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-39872"}],"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-39872.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:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}