CVE-2018-20170: User Enumeration Vulnerability in OpenStack Keystone

keystone Updated 02 Oct 2025

Summary

17/12/2018
Yes i
Unrated
Not published

CVE-2018-20170: DISPUTED OpenStack Keystone through 14.0.1 has a user enumeration vulnerability because invalid usernames have much faster responses than valid ones for a POST /v3/auth/tokens request. Affects keystone versions < 14.1.0. Fixed in 14.1.0. 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 Your last release was probably never penetration tested 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 a component of the OpenStack cloud computing platform that provides authentication and authorization services. It is responsible for managing user identities, roles, and permissions within an OpenStack deployment. The vulnerability identified as CVE-2018-20170 affects Keystone versions up to 14.0.1. This vulnerability allows an attacker to enumerate valid usernames by exploiting differences in response times for POST /v3/auth/tokens requests. By sending requests with both valid and invalid usernames, an attacker can determine which usernames are valid based on the response time. This information can be used for further attacks, such as brute-forcing passwords or targeted attacks on specific user accounts.

Vulnerability Detail

The user enumeration vulnerability in OpenStack Keystone arises from the discrepancy in response times for valid and invalid usernames during a POST /v3/auth/tokens request. When an invalid username is provided, the response time is significantly faster compared to a valid username. This discrepancy allows an attacker to distinguish between valid and invalid usernames by measuring the response time. By repeatedly sending requests with different usernames, an attacker can identify valid usernames and potentially gain unauthorized access to user accounts. It is important to note that the vendor considers this vulnerability as a hardening opportunity rather than a critical security issue.

How To Fix

Latest published version: 30.0.0 as of 22 Oct 2026

pip install --upgrade "keystone==30.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

14.1.0

This is the first release that contains the fix.

pip install --upgrade "keystone==14.1.0"

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

Workaround

There is no specific workaround provided for this vulnerability. However, as a general security measure, it is advisable to implement strong password policies, enable multi-factor authentication, and regularly monitor and review access logs for any suspicious activity.

Conclusion

The user enumeration vulnerability in OpenStack Keystone can be mitigated by upgrading to version 14.1.0 or later. It is crucial for users to keep their Keystone installations up to date to protect against potential unauthorized access and further attacks. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for keystone →

Share this vulnerability

FAQ

OpenStack Keystone is a component of the OpenStack cloud computing platform that provides authentication and authorization services. It manages user identities, roles, and permissions within an OpenStack deployment.

The user enumeration vulnerability in OpenStack Keystone allows an attacker to determine valid usernames by exploiting response time differences. This information can be used for further attacks, such as brute-forcing passwords or targeted attacks on specific user accounts.

To fix this vulnerability, it is recommended to upgrade to OpenStack Keystone version 14.1.0 or later. Updating to the latest version includes improvements that mitigate the user enumeration vulnerability.

No specific workarounds are provided for this vulnerability. However, implementing strong password policies, enabling multi-factor authentication, and monitoring access logs can enhance overall security.

The vendor considers this vulnerability as a hardening opportunity rather than a critical security issue. However, it is still important to apply the recommended fix to ensure the security of OpenStack deployments.

Related vulnerabilities

Recent vulnerabilities recorded for keystone.

How To Fix

Latest published version: 30.0.0 as of 22 Oct 2026

pip install --upgrade "keystone==30.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

14.1.0

This is the first release that contains the fix.

pip install --upgrade "keystone==14.1.0"

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