CVE-2013-2030: python-keystoneclient - Insecure Temporary Directory in OpenStack Nova
Summary
CVE-2013-2030: OpenStack Nova uses insecure keystone middleware tmpdir by default. Affects python-keystoneclient versions < 0.2.4. Fixed in 0.2.4. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The python-keystoneclient is a library that provides a Python interface to the OpenStack Keystone API, which is responsible for authentication and authorization in OpenStack environments. This package is crucial for managing user identities and permissions in cloud infrastructures. However, certain versions of this package are vulnerable due to the use of an insecure temporary directory for storing signing certificates, which can lead to security breaches.
Vulnerability Detail
The vulnerability arises from the keystone/middleware/auth_token.py file in OpenStack Nova versions Folsom, Grizzly, and Havana. It uses a temporary directory that is not secured, allowing local users to create this directory in advance. If exploited, this could enable these users to spoof servers by manipulating the signing certificates stored in the directory. This vulnerability poses a significant risk as it compromises the integrity of the authentication process, potentially allowing unauthorized access to sensitive resources.
How To Fix
Latest published version: 6.0.0 as of 23 Oct 2026
pip install --upgrade "python-keystoneclient==6.0.0"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
0.2.4
This is the first release that contains the fix.
pip install --upgrade "python-keystoneclient==0.2.4"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, you can change the default temporary directory used by OpenStack Nova to a more secure location. This can be done by setting the 'TMPDIR' environment variable to a secure path before starting the Nova services. For example:
export TMPDIR=/secure/temp/dir
Conclusion
In summary, CVE-2013-2030 highlights a significant security vulnerability in the python-keystoneclient package used in OpenStack Nova. By updating to version 0.2.4 or later, users can mitigate the risks associated with this issue. Additionally, temporary workarounds can be employed to enhance security until the update is applied.
See every vulnerability recorded for python-keystoneclient →
FAQ
CVE-2013-2030 is a vulnerability identifier that refers to a specific security flaw in the python-keystoneclient package used in OpenStack Nova.
The affected versions include those prior to 0.2.4, specifically in the Folsom, Grizzly, and Havana releases of OpenStack Nova.
The main risk is that local users can spoof servers, potentially leading to unauthorized access and manipulation of sensitive data.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
The CVSS score of this vulnerability is 4.3, indicating a moderate level of severity.
References
Related vulnerabilities
Recent vulnerabilities recorded for python-keystoneclient.