CVE-2013-0282: Keystone OpenStack Keystone Allows Context-dependent Attackers Vulnerability

MODERATE
Advisory Identifier: GHSA-8833-qrvm-wc3h
CWE-287
Published
Advisory Summary

CVE-2013-0282 is a MODERATE openstack keystone allows context-dependent attackers vulnerability (CWE-287: Improper Authentication) affecting Keystone libraries in the PyPI ecosystem. The issue involves openstack keystone allows context-dependent attackers to bypass access restrictions. Remediation is available by upgrading affected packages to version 8.0.0a0.

CVE-2013-0282 at a Glance

CVE Identifier CVE-2013-0282
GHSA Identifier GHSA-8833-qrvm-wc3h
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-287: Improper Authentication
Affected Product Keystone
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2013-0282

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-2013-0282, 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. 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 Keystone Grizzly before 2013.1, Folsom 2012.1.3 and earlier, and Essex does not properly check if the (1) user, (2) tenant, or (3) domain is enabled when using EC2-style authentication, which allows context-dependent attackers to bypass access restrictions.

CVE-2013-0282 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-2013-0282?
CVE-2013-0282 is a security vulnerability in Keystone involving OpenStack Keystone allows context-dependent attackers to bypass access restrictions under CWE-287: Improper Authentication.
Which Keystone versions are affected?
Affected versions include releases prior to 8.0.0a0 across affected packages: Keystone.
What version fixes CVE-2013-0282?
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 CWE is associated with CVE-2013-0282?
CVE-2013-0282 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check PyPI dependencies for CVE-2013-0282?
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-8833-qrvm-wc3h",
  "modified" : "2024-05-09T16:47:05Z",
  "published" : "2022-05-05T02:48:43Z",
  "aliases" : [ "CVE-2013-0282" ],
  "summary" : "OpenStack Keystone allows context-dependent attackers to bypass access restrictions",
  "details" : "OpenStack Keystone Grizzly before 2013.1, Folsom 2012.1.3 and earlier, and Essex does not properly check if the (1) user, (2) tenant, or (3) domain is enabled when using EC2-style authentication, which allows context-dependent attackers to bypass access restrictions.",
  "severity" : [ ],
  "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-2013-0282"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/keystone/commit/7402f5ef994599653bdbb3ed5ff1a2b8c3e72b9f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/keystone/commit/9572bfc393f66f5ce3b44c0a77a9e29cc0374c6f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/keystone/commit/f0b4d300db5cc61d4f079f8bce9da8e8bea1081a"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/keystone/+bug/1121494"
  }, {
    "type" : "WEB",
    "url" : "https://launchpad.net/keystone/+milestone/2012.2.4"
  }, {
    "type" : "WEB",
    "url" : "https://launchpad.net/keystone/grizzly/2013.1"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/#/c/22319"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/#/c/22320"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/#/c/22321"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2013/02/19/3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-09T16:47:05Z",
    "nvd_published_at" : "2013-04-12T22:55:00Z"
  }
}