CVE-2021-3563: Openstack Keystone Incorrect Authorization vulnerability
9.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.07145%
CWE
Published
8/27/2022
Updated
1/22/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
keystone | pip | <= 21.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from bcrypt's inherent 72-byte password truncation not being properly handled in Keystone's password verification. The verify_length_and_trunc_password function was responsible for enforcing length limits but didn't account for algorithm-specific constraints before the patch. The commit 7859ed2 explicitly addresses this by adding algorithm-aware truncation, confirming this function's role in the vulnerability.