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
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | swauth | < 1.3.0 | 1.3.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-16613
- https://github.com/openstack/swauth/commit/70af7986265a3defea054c46efc82d0698917298
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882314
- https://bugs.launchpad.net/swift/+bug/1655781
- https://github.com/openstack/swauth
- https://github.com/pypa/advisory-database/tree/main/vulns/swauth/PYSEC-2017-84.yaml
- https://web.archive.org/web/20200227140059/http://www.securityfocus.com/bid/101926
- https://www.debian.org/security/2017/dsa-4044
- http://www.securityfocus.com/bid/101926
- https://github.com/advisories/GHSA-qhq8-xwqv-pvv9
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-287- Platform
- Python (PyPI)
- Package
swauth- Disclosed
- 21.11.2017
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-qhq8-xwqv-pvv9 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2017-84 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: swauth
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.