CVE-2013-2030: Python keystoneclient OpenStack Nova Uses Insecure Keystone Vulnerability

MODERATE
Advisory Identifier: GHSA-pxxv-rv32-2qgv
CVSS 4.3
CWE-1188
Published
Advisory Summary

CVE-2013-2030 is a MODERATE (CVSS 4.3) openstack nova uses insecure keystone vulnerability (CWE-1188: Initialization of a Resource with an Insecure Default) affecting Python keystoneclient libraries in the PyPI ecosystem. The issue involves openstack nova uses insecure keystone middleware tmpdir by default. Remediation is available by upgrading affected packages to version 0.2.4.

CVE-2013-2030 at a Glance

CVE Identifier CVE-2013-2030
GHSA Identifier GHSA-pxxv-rv32-2qgv
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-1188: Initialization of a Resource with an Insecure Default
Affected Product Python keystoneclient
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 4.3

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

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2013-2030

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

python-keystoneclient fixed: 0.2.4
pip install python-keystoneclient>=0.2.4
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 python-keystoneclient

How to Check if You Are Affected

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

pip show python-keystoneclient

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1188: Initialization of a Resource with an Insecure Default, where the product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure. In Python keystoneclient, 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

keystone/middleware/auth_token.py in OpenStack Nova Folsom, Grizzly, and Havana uses an insecure temporary directory for storing signing certificates, which allows local users to spoof servers by pre-creating this directory, which is reused by Nova, as demonstrated using /tmp/keystone-signing-nova on Fedora.

CVE-2013-2030 Affected Python keystoneclient Versions

1 component(s)
Fixed Versions:
0.2.4
Product / Package Ecosystem Affected Versions Fixed Version
python-keystoneclient
PyPI
< 0.2.4
0.2.4

References

Frequently Asked Questions

What is CVE-2013-2030?
CVE-2013-2030 is a security vulnerability in Python keystoneclient involving OpenStack Nova uses insecure keystone middleware tmpdir by default under CWE-1188: Initialization of a Resource with an Insecure Default.
Which Python keystoneclient versions are affected?
Affected versions include releases prior to 0.2.4 across affected packages: python-keystoneclient.
What version fixes CVE-2013-2030?
Upgrading to 0.2.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is python-keystoneclient affected?
Yes, python-keystoneclient is affected in releases prior to 0.2.4. Upgrade your dependency to 0.2.4 or later.
What is the CVSS score of CVE-2013-2030?
CVE-2013-2030 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N.
What CWE is associated with CVE-2013-2030?
CVE-2013-2030 is classified under CWE-1188: Initialization of a Resource with an Insecure Default (The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.).
How can I check PyPI dependencies for CVE-2013-2030?
Run the dependency tree command: 'pip show python-keystoneclient'. 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-pxxv-rv32-2qgv",
  "modified" : "2024-11-22T18:07:29Z",
  "published" : "2022-05-17T04:44:52Z",
  "aliases" : [ "CVE-2013-2030" ],
  "summary" : "OpenStack Nova uses insecure keystone middleware tmpdir by default",
  "details" : "keystone/middleware/auth_token.py in OpenStack Nova Folsom, Grizzly, and Havana uses an insecure temporary directory for storing signing certificates, which allows local users to spoof servers by pre-creating this directory, which is reused by Nova, as demonstrated using /tmp/keystone-signing-nova on Fedora.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "python-keystoneclient"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.2.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-2030"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/nova/commit/58d6879b1caaa750c39c8e452a0634c24ffef2ce"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/nova/commit/74aa04e2ca7942cb1e1a86dcbaffeb72d260ccd7"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/nova/commit/7bf3e8d3e254d817ff5ae7ef1f2884b10410ca60"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/python-keystoneclient/commit/1736e2ffb12f70eeebed019448bc14def48aa036"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/nova/+bug/1174608"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=958285"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/nova"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/nova/PYSEC-2013-45.yaml"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2013-May/105916.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.openstack.org/pipermail/openstack-announce/2013-May/000098.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2013/05/09/2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1188" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-28T23:51:10Z",
    "nvd_published_at" : "2013-12-27T01:55:00Z"
  }
}