CVE-2013-2014: Keystone Denial of Service Vulnerability

MODERATE
Advisory Identifier: GHSA-7332-36h8-8jh8
CWE-20
Published
Advisory Summary

CVE-2013-2014 is a MODERATE denial of service vulnerability (CWE-20: Improper Input Validation) affecting Keystone libraries in the PyPI ecosystem. The issue involves openstack identity (keystone) denial of service. Remediation is available by upgrading affected packages to version 8.0.0a0.

CVE-2013-2014 at a Glance

CVE Identifier CVE-2013-2014
GHSA Identifier GHSA-7332-36h8-8jh8
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-20: Improper Input Validation
Affected Product Keystone
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2013-2014

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-2014, 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. 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) before 2013.1 allows remote attackers to cause a denial of service (memory consumption and crash) via multiple long requests.

CVE-2013-2014 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-2014?
CVE-2013-2014 is a security vulnerability in Keystone involving OpenStack Identity (Keystone) Denial of Service under CWE-20: Improper Input Validation.
Which Keystone versions are affected?
Affected versions include releases prior to 8.0.0a0 across affected packages: keystone.
What version fixes CVE-2013-2014?
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-2014?
CVE-2013-2014 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check PyPI dependencies for CVE-2013-2014?
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-7332-36h8-8jh8",
  "modified" : "2024-05-14T20:47:21Z",
  "published" : "2022-05-13T01:26:09Z",
  "aliases" : [ "CVE-2013-2014" ],
  "summary" : "OpenStack Identity (Keystone) Denial of Service",
  "details" : "OpenStack Identity (Keystone) before 2013.1 allows remote attackers to cause a denial of service (memory consumption and crash) via multiple long requests.",
  "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-2014"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/keystone/commit/7691276b869a86c2b75631d5bede9f61e030d9d8"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/keystone/+bug/1098177"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/keystone/+bug/1099025"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/84347"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2013-July/111914.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/53397"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/59936"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-14T20:47:20Z",
    "nvd_published_at" : "2014-06-02T15:55:00Z"
  }
}