CVE-2017-16613: OpenStack Swauth object/proxy server writing Auth Token to log file
9.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.86336%
CWE
Published
5/17/2022
Updated
10/28/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
swauth | pip | < 1.3.0 | 1.3.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from Swauth middleware using raw authentication tokens as part of object names in Swift paths. These paths are logged by Swift's proxy/object servers. The pre-patch code in middleware.py directly embedded tokens in paths via string formatting (e.g., '/v1/%s/.token_%s/%s' % (auth_account, token[-1], token)). The commit 70af798 introduced _get_concealed_token() to hash tokens before path construction, explicitly fixing these four functions where raw tokens were used. The functions' direct involvement in token path creation and the explicit patch modifications confirm their vulnerability.