CVE-2013-0270: Keystone Denial of Service Vulnerability

MODERATE
Advisory Identifier: GHSA-4ppj-4p4v-jf4p
CVSS 6.5
CWE-1284 CWE-119
Published
Advisory Summary

CVE-2013-0270 is a MODERATE (CVSS 6.5) denial of service vulnerability (CWE-1284: Improper Validation of Specified Quantity in Input) affecting Keystone libraries in the PyPI ecosystem. The issue involves openstack keystone denial of service vulnerability via a large http request. Remediation is available by upgrading affected packages to version 8.0.0a0.

CVE-2013-0270 at a Glance

CVE Identifier CVE-2013-0270
GHSA Identifier GHSA-4ppj-4p4v-jf4p
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-1284: Improper Validation of Specified Quantity in Input
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:N/A:H).

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 None (I:N)
Availability High (A:H)

How to Fix CVE-2013-0270

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-0270, 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-1284: Improper Validation of Specified Quantity in Input, where the product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties. 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, and possibly earlier allows remote attackers to cause a denial of service (CPU and memory consumption) via a large HTTP request, as demonstrated by a long tenant_name when requesting a token.

CVE-2013-0270 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-0270?
CVE-2013-0270 is a security vulnerability in Keystone involving OpenStack Keystone Denial of Service vulnerability via a large HTTP request under CWE-1284: Improper Validation of Specified Quantity in Input.
Which Keystone versions are affected?
Affected versions include releases prior to 8.0.0a0 across affected packages: keystone.
What version fixes CVE-2013-0270?
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-2013-0270?
CVE-2013-0270 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2013-0270?
CVE-2013-0270 is classified under CWE-1284: Improper Validation of Specified Quantity in Input (The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.).
How can I check PyPI dependencies for CVE-2013-0270?
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-4ppj-4p4v-jf4p",
  "modified" : "2026-04-07T14:23:46Z",
  "published" : "2022-05-05T02:48:42Z",
  "aliases" : [ "CVE-2013-0270" ],
  "summary" : "OpenStack Keystone Denial of Service vulnerability via a large HTTP request",
  "details" : "OpenStack Keystone Grizzly before 2013.1, Folsom, and possibly earlier allows remote attackers to cause a denial of service (CPU and memory consumption) via a large HTTP request, as demonstrated by a long tenant_name when requesting a token.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "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-0270"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/keystone/commit/7691276b869a86c2b75631d5bede9f61e030d9d8"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/keystone/commit/82c87e5638ebaf9f166a9b07a0155291276d6fdc"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2013-0270"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/keystone/+bug/1099025"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=909012"
  }, {
    "type" : "WEB",
    "url" : "https://launchpad.net/keystone/grizzly/2013.1"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-0708.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119", "CWE-1284" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-13T16:11:49Z",
    "nvd_published_at" : "2013-04-12T22:55:00Z"
  }
}