OpenStack Keystone Middleware Vulnerability in Python Keystoneclient and Keystonemiddleware

python-keystoneclient Updated 02 Oct 2025

Summary

17/04/2015
N/A
Yes i
Unrated
Not published

CVE-2015-1852: The s3_token middleware in OpenStack keystonemiddleware before 1.6.0 and python-keystoneclient before 1.4.0 disables certification verification when the "insecure" option is set in a paste configuration (paste.ini) file... Affects python-keystoneclient versions < 1:1.3.0-2. Fixed in 1:1.3.0-2. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

OpenStack is a widely used open-source cloud computing platform that provides infrastructure as a service (IaaS). The keystonemiddleware package is responsible for handling authentication and authorization in OpenStack, while the python-keystoneclient is a client library for interacting with the Keystone API. This vulnerability affects versions of these packages prior to specific fixed releases, exposing users to potential man-in-the-middle attacks due to improper certificate verification.

Vulnerability Detail

The s3_token middleware in OpenStack keystonemiddleware versions before 1.6.0 and python-keystoneclient versions before 1.4.0 disables certificate verification when the 'insecure' option is set in the paste configuration file (paste.ini). This flaw allows remote attackers to exploit the system by conducting man-in-the-middle attacks using crafted certificates, compromising the integrity and confidentiality of the data being transmitted.

How To Fix

Minimum fixed version

1:1.3.0-2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-keystoneclient

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can avoid setting the 'insecure' option in the paste.ini configuration file. This will ensure that certificate verification remains enabled, reducing the risk of man-in-the-middle attacks until the packages can be upgraded.

Conclusion

The vulnerability in OpenStack's keystonemiddleware and python-keystoneclient poses significant risks due to improper certificate verification. Users are strongly advised to upgrade to the fixed versions to safeguard their applications against potential attacks. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for python-keystoneclient →

Share this vulnerability

FAQ

The vulnerability allows attackers to perform man-in-the-middle attacks, potentially compromising sensitive data transmitted between clients and the server.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The affected versions are keystonemiddleware before 1.6.0 and python-keystoneclient before 1.4.0.

Yes, you can avoid using the 'insecure' option in your paste.ini configuration file to maintain certificate verification.

More information can be found in the CVE details and related security advisories, such as USN-2705-1.

Related vulnerabilities

Recent vulnerabilities recorded for python-keystoneclient.

How To Fix

Minimum fixed version

1:1.3.0-2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-keystoneclient

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback