CVE-2020-12692:
OpenStack Keystone does not check signature TTL of the EC2 credential auth method
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.31006%
CWE
Published
5/24/2022
Updated
9/27/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
keystone | pip | >= 16.0.0.0rc1, < 16.0.0 | 16.0.0 |
keystone | pip | >= 0, < 15.0.1 | 15.0.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing timestamp validation in the EC2 credential authentication flow. The commit diff shows the fix added a '_check_timestamp' function and called it from 'handle_authenticate'. In vulnerable versions, this validation was absent in the authentication handler, allowing replay of valid signatures indefinitely. The 'handle_authenticate' method is the entry point for EC2 credential validation and would have processed requests without TTL checks prior to the patch.