MEDIUM

CVE-2021-39872

Gitlab GitLab 2021-10-05 CVSS v3.1
CVSS
6.5

Description

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.

Summary dbcve.org

In GitLab CE/EE versions 14.1 and later, an improper access control vulnerability allows users with expired passwords to continue accessing GitLab through git operations and the API using access tokens that were acquired before their password expired. The access tokens remain valid even after the associated password becomes invalid, bypassing password expiration controls.

Mitigation

Implement token validation that checks password status at authentication time, ensuring access tokens are invalidated when the user's password expires, and establish token expiration policies aligned with password rotation requirements.

Weakness (CWE)

CWE-287 Improper Authentication

EPSS Score

0.99%
Probability of exploitation in next 30 days
61th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE