CVE-2014-5253: Keystone OpenStack Keystone Domain-scoped Tokens Don't Vulnerability

HIGH
Advisory Identifier: GHSA-77w8-qv8m-386h
CVSS 6.5
CWE-613
Published
Advisory Summary

CVE-2014-5253 is a HIGH (CVSS 6.5) openstack keystone domain-scoped tokens don't vulnerability (CWE-613: Insufficient Session Expiration) affecting Keystone libraries in the PyPI ecosystem. The issue involves openstack keystone domain-scoped tokens don't get revoked. Remediation is available by upgrading affected packages to version 8.0.0a0.

CVE-2014-5253 at a Glance

CVE Identifier CVE-2014-5253
GHSA Identifier GHSA-77w8-qv8m-386h
Severity HIGH
CVSS v3.1 Base Score 6.5
CWE Classification CWE-613: Insufficient Session Expiration
Affected Product Keystone
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2014-5253

To remediate this vulnerability, upgrade all affected Keystone dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

keystone fixed: 8.0.0a0
pip install keystone>=8.0.0a0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show keystone

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2014-5253, inspect your installed packages using pip:

pip show keystone

Analyze the terminal output to locate any version of Keystone in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.0.0a0), your application is affected.

Note: The pip show keystone command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-613: Insufficient Session Expiration, where according to wasc, "insufficient session expiration is when a web site permits an attacker to reuse old session credentials or session ids for authorization.". In Keystone, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

OpenStack Identity (Keystone) 2014.1.x before 2014.1.2.1 and Juno before Juno-3 does not properly revoke tokens when a domain is invalidated, which allows remote authenticated users to retain access via a domain-scoped token for that domain.

CVE-2014-5253 Affected Keystone Versions

1 component(s)
Fixed Versions:
8.0.0a0
Product / Package Ecosystem Affected Versions Fixed Version
keystone
PyPI
< 8.0.0a0
8.0.0a0

References

Frequently Asked Questions

What is CVE-2014-5253?
CVE-2014-5253 is a security vulnerability in Keystone involving OpenStack Keystone Domain-scoped tokens don't get revoked under CWE-613: Insufficient Session Expiration.
Which Keystone versions are affected?
Affected versions include releases prior to 8.0.0a0 across affected packages: keystone.
What version fixes CVE-2014-5253?
Upgrading to 8.0.0a0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is keystone affected?
Yes, keystone is affected in releases prior to 8.0.0a0. Upgrade your dependency to 8.0.0a0 or later.
What is the CVSS score of CVE-2014-5253?
CVE-2014-5253 has a CVSS v3.1 base score of 6.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2014-5253?
CVE-2014-5253 is classified under CWE-613: Insufficient Session Expiration (According to WASC, "Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization.").
How can I check PyPI dependencies for CVE-2014-5253?
Run the dependency tree command: 'pip show keystone'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-77w8-qv8m-386h",
  "modified" : "2024-11-26T18:33:23Z",
  "published" : "2022-05-17T04:31:12Z",
  "aliases" : [ "CVE-2014-5253" ],
  "summary" : "OpenStack Keystone Domain-scoped tokens don't get revoked",
  "details" : "OpenStack Identity (Keystone) 2014.1.x before 2014.1.2.1 and Juno before Juno-3 does not properly revoke tokens when a domain is invalidated, which allows remote authenticated users to retain access via a domain-scoped token for that domain.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "keystone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "8.0.0a0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-5253"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/keystone/commit/317f9d34b4da20c21edd5b851889298b67c843e1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/keystone/commit/3e035ebb726167aef43c4a865c7e7f7d3b0978fb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/keystone/commit/c4447f16da036fe878382ce4e1b05b84bdcc4d4e"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/keystone/commit/cccc3f3239c68479de0f6a41bd64badf2a9ec9e7"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/keystone/+bug/1349597"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/keystone"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2014-109.yaml"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1121.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1122.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2014/08/15/6"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-2324-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-613" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-14T21:16:52Z",
    "nvd_published_at" : "2014-08-25T14:55:00Z"
  }
}