Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-16613

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-16613
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:26 UTC · Revision 1

Source evidence

CVE-2017-16613

core-osv · Original source

Published 21 Nov 2017, 13:29 UTC

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.

osv:CVE-2017-16613
Complete source record
{
  "id": "95f80d933e432d68bb0693441f198edfac0e87cb003acb418f9359d21fe1d434",
  "url": "https://osv.dev/vulnerability/CVE-2017-16613",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-16613",
    "summary": "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.",
    "evidence": "osv:CVE-2017-16613",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2017-16613",
      "aliases": [
        "CVE-2017-16613",
        "GHSA-qhq8-xwqv-pvv9",
        "PYSEC-2017-84"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/openstack-archive/swauth",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1752c2773bd948da88780e7e765eecffe78d2846"
                },
                {
                  "fixed": "70af7986265a3defea054c46efc82d0698917298"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openstack:swauth:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "70af7986265a3defea054c46efc82d0698917298"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.2.0",
            "1.1.0",
            "1.0.8",
            "1.0.6",
            "1.0.5",
            "1.0.4",
            "1.0.3",
            "1.0.2",
            "1.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-16613.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/openstack/swift",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1f751a797997e241d5cc9a32b9307e3b9f0df4c3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.15.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.15.1",
            "2.15.0",
            "2.14.0",
            "2.13.0",
            "2.12.0",
            "2.11.0",
            "2.9.0",
            "2.10.0",
            "2.8.0",
            "2.7.0",
            "2.6.0",
            "2.5.0",
            "2.4.0",
            "2.3.0rc1",
            "2.2.2rc1",
            "2.2.2",
            "2.2.1c1",
            "2.2.1.rc1",
            "2.2.1",
            "2.2.0.rc1",
            "2.2.0",
            "2.1.0.rc1",
            "2.1.0",
            "2.0.0.rc1",
            "1.13.1.rc1",
            "1.13.0",
            "1.10.0.rc1",
            "1.10.0",
            "1.9.2",
            "1.8.0.rc1",
            "1.4.6",
            "1.4.5",
            "1.4.2",
            "1.4.1",
            "1.4.0",
            "1.3.0",
            "1.3rc1",
            "1.3gamma1",
            "1.1.0",
            "1.0.2",
            "1.0.1",
            "1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-16613.json"
          }
        }
      ],
      "modified": "2026-10-24T10:47:29.524435842Z",
      "provider": "osv",
      "references": [
        "https://www.debian.org/security/2017/dsa-4044",
        "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882314",
        "https://bugs.launchpad.net/swift/+bug/1655781",
        "https://github.com/openstack/swauth/commit/70af7986265a3defea054c46efc82d0698917298"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-16613",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 441258,
  "published_at": "2017-11-21T13:29:00.267+00:00"
}