CVE-2021-39915
Description
Improper access control in the GraphQL API in GitLab CE/EE affecting all versions starting from 13.0 before 14.3.6, all versions starting from 14.4 before 14.4.4, all versions starting from 14.5 before 14.5.2, allows an attacker to see the names of project access tokens on arbitrary projects
Summary dbcve.org
Improper access control in GitLab's GraphQL API allows unauthenticated or unauthorized users to enumerate project access token names on arbitrary projects. The GraphQL endpoint fails to properly validate user permissions before returning token name information.
Mitigation
Upgrade GitLab to version 14.3.6, 14.4.4, 14.5.2 or later. If immediate upgrade is not possible, consider restricting GraphQL API access or implementing additional access controls at the network layer.