CVE-2017-16613
CRITICAL 9.8CVSS 3.0OpenStack Swauth object/proxy server writing Auth Token to log file
An issue was discovered in middleware.py in OpenStack Swauth through 1.2.0 when used with OpenStack Swift through 2.15.1. The Swift object store and proxy server are saving (unhashed) tokens retrieved from the Swauth middleware authentication mechanism to a log file as part of a GET URI. This allows attackers to bypass authentication by inserting a token into an X-Auth-Token header of a new request. NOTE: github.com/openstack/swauth URLs do not mean that Swauth is maintained by an official OpenStack project team.
- Published
- 21 Nov 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-287
- Also known as
- GHSA-qhq8-xwqv-pvv9PYSEC-2017-84
- Sources
- NVDJSONOSV GHSA-qhq8-xwqv-pvv9JSONOSV PYSEC-2017-84JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openstack | swauthcpe:2.3:a:openstack:swauth:*:*:*:*:*:*:*:* |
<= 1.2.0 | |
| NVD | openstack | swiftcpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:* |
<= 2.15.1 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | PyPI | swauth | < 1.3.0 | 1.3.0 |
References
- http://www.securityfocus.com/bid/101926 · Third Party Advisory, VDB Entry, WEB
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882314 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://bugs.launchpad.net/swift/+bug/1655781 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/openstack/swauth/commit/70af7986265a3defea054c46efc82d0698917298 · Issue Tracking, Patch, Third Party Advisory, WEB, FIX
- https://www.debian.org/security/2017/dsa-4044 · Issue Tracking, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2017-16613 · ADVISORY
- https://github.com/openstack/swauth · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/swauth/PYSEC-2017-84.yaml · WEB
- https://web.archive.org/web/20200227140059/http://www.securityfocus.com/bid/101926 · WEB
- https://github.com/advisories/GHSA-qhq8-xwqv-pvv9 · ADVISORY
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 21 Nov 2017)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Nov 2017)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 May 2022)