CVE-2017-16613Openstack Swauth
Critical 9.8 No auth needed
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Nov 21, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Swauth.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | swauth |
< 1.3.0 |
1.3.0 |
pip install "swauth>=1.3.0" |
| PyPI | swauth |
< 1.3.0 |
1.3.0 |
pip install "swauth>=1.3.0" |
Per OSV / GitHub Advisories (GHSA-qhq8-xwqv-pvv9, PYSEC-2017-84). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openstack | swauth | ≤ 1.2.0 |
| openstack | swift | ≤ 2.15.1 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- bugs.debian.org Issue Tracking Patch Third Party Advisory
- bugs.launchpad.net Issue Tracking Patch Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- www.debian.org Issue Tracking Third Party Advisory