CVE-2017-16613
OpenStack Swauth object/proxy server writing Auth Token to log file
Reported by mitre · Published November 21, 2017
swauth is fixed in 70af7986265a3defea054c46efc82d0698917298 and 1.3.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| swauth | PyPI | 70af7986265a3defea054c46efc82d0698917298, 1.3.0 |
| swauth | openstack | 1.2.0 |
| swift | openstack | 2.15.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | swauth | 0 |
| n/a | n/a | * |
Timeline
- Nov 21, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Aug 25, 2021 CVE Updated
- Mar 10, 2026 Security Advisory (2 in total, the first dated here)
- Oct 2, 2026 Coalition ESS Score
- Oct 31, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-16613
vulnetix vdb fixes CVE-2017-16613
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-16613/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 101926 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- DSA-4044 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2017-16613 advisory
- https://github.com/advisories/GHSA-qhq8-xwqv-pvv9 advisory
- https://github.com/openstack/swauth url
- https://github.com/pypa/advisory-database/tree/main/vulns/swauth/PYSEC-2017-84.yaml advisory
- https://web.archive.org/web/20200227140059/http://www.securityfocus.com/bid/101926 url