Data Leakage Vulnerability in OpenStack Keystone: Credentials Exposure

keystone Updated 02 Oct 2025

Summary

09/12/2019
N/A
Yes i
High
8.8

CVE-2019-19687: OpenStack Keystone 15.0.0 and 16.0.0 is affected by Data Leakage in the list credentials API. Affects keystone across 3 version ranges.

< 2:16.0.0-5 < c78581b4608f3dc10e945d358963000f284f188a < dc9e9e32dfbf9fd9c58f9f8e2b35f0bcfd62328e

Fixed in 2:16.0.0-5. 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 Keystone is an essential component of the OpenStack cloud computing platform, providing identity services for authentication and authorization. It enables users to manage access to cloud resources through a centralized service. However, certain configurations can expose sensitive information, particularly when the 'enforce_scope' setting is disabled, leading to potential data leakage.

Vulnerability Detail

The vulnerability identified as CVE-2019-19687 affects OpenStack Keystone versions 15.0.0 and 16.0.0, allowing any user with a role on a project to list credentials through the /v3/credentials API when 'enforce_scope' is set to false. This misconfiguration permits users to view other users' credentials, including sensitive sign-on information for Time-based One Time Passwords (TOTP). The risk is heightened in deployments where this setting is not enforced, potentially leading to unauthorized access and data breaches.

How To Fix

Minimum fixed version

2:16.0.0-5

This is the first release that contains the fix.

sudo apt-get install --only-upgrade keystone

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

Workaround

As a temporary workaround, ensure that the 'enforce_scope' configuration is set to true in your Keystone configuration file. This can be done by modifying the 'keystone.conf' file:

  1. Open the configuration file:
   sudo nano /etc/keystone/keystone.conf
  1. Locate the 'enforce_scope' setting and set it to true: enforce_scope = true

  2. Save the changes and restart the Keystone service:

   sudo systemctl restart keystone

Conclusion

The CVE-2019-19687 vulnerability poses a significant risk to OpenStack Keystone deployments where the 'enforce_scope' setting is disabled. It is essential to apply the recommended updates and configurations to mitigate the risk of data leakage and unauthorized access to sensitive credentials.

See every vulnerability recorded for keystone →

Share this vulnerability

FAQ

CVE-2019-19687 is a vulnerability in OpenStack Keystone that allows users to list other users' credentials when 'enforce_scope' is disabled.

The vulnerability can lead to unauthorized access to sensitive information, including Time-based One Time Passwords (TOTP), which can compromise user accounts.

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

OpenStack Keystone versions 15.0.0 and 16.0.0 are affected by this vulnerability.

The CVSS score of CVE-2019-19687 is 8.8, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for keystone.

How To Fix

Minimum fixed version

2:16.0.0-5

This is the first release that contains the fix.

sudo apt-get install --only-upgrade keystone

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