CVE-2015-3646: Keystone OpenStack Keystone Logs Passwords Vulnerability

MODERATE
Advisory Identifier: GHSA-jwpw-ppj5-7h4w
CWE-200
Published
Advisory Summary

CVE-2015-3646 is a MODERATE openstack keystone logs passwords vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Keystone libraries in the PyPI ecosystem. The issue involves openstack keystone logs passwords. Remediation is available by upgrading affected packages to version 2014.1.5, 2014.2.4.

CVE-2015-3646 at a Glance

CVE Identifier CVE-2015-3646
GHSA Identifier GHSA-jwpw-ppj5-7h4w
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Keystone
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2015-3646

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

keystone fixed: 2014.1.5
pip install keystone>=2014.1.5
keystone fixed: 2014.2.4
pip install keystone>=2014.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 keystone

How to Check if You Are Affected

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

pip show keystone

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Keystone, 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

OpenStack Identity (Keystone) before 2014.1.5 and 2014.2.x before 2014.2.4 logs the backend_argument configuration option content, which allows remote authenticated users to obtain passwords and other sensitive backend information by reading the Keystone logs.

CVE-2015-3646 Affected Keystone Versions

2 component(s)
Fixed Versions:
2014.1.52014.2.4
Product / Package Ecosystem Affected Versions Fixed Version
keystone
PyPI
≥ 2011.3
< 2014.1.5
2014.1.5
keystone
PyPI
≥ 2014.2
< 2014.2.4
2014.2.4

References

Frequently Asked Questions

What is CVE-2015-3646?
CVE-2015-3646 is a security vulnerability in Keystone involving OpenStack Keystone Logs Passwords under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Keystone versions are affected?
Affected versions include releases prior to 2014.1.5, 2014.2.4 across affected packages: keystone.
What version fixes CVE-2015-3646?
Upgrading to 2014.1.5, 2014.2.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is keystone affected?
Yes, keystone is affected in releases prior to 2014.1.5, 2014.2.4. Upgrade your dependency to 2014.1.5, 2014.2.4 or later.
What CWE is associated with CVE-2015-3646?
CVE-2015-3646 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check PyPI dependencies for CVE-2015-3646?
Run the dependency tree command: 'pip show keystone'. 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-jwpw-ppj5-7h4w",
  "modified" : "2023-12-07T19:44:23Z",
  "published" : "2022-05-13T01:26:10Z",
  "aliases" : [ "CVE-2015-3646" ],
  "summary" : "OpenStack Keystone Logs Passwords",
  "details" : "OpenStack Identity (Keystone) before 2014.1.5 and 2014.2.x before 2014.2.4 logs the backend_argument configuration option content, which allows remote authenticated users to obtain passwords and other sensitive backend information by reading the Keystone logs.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "keystone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2011.3"
      }, {
        "fixed" : "2014.1.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "keystone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2014.2"
      }, {
        "fixed" : "2014.2.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-3646"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/keystone/+bug/1443598"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/keystone"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20210122154200/http://www.securityfocus.com/bid/74456"
  }, {
    "type" : "WEB",
    "url" : "http://lists.openstack.org/pipermail/openstack-announce/2015-May/000356.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-01T00:13:51Z",
    "nvd_published_at" : "2015-05-12T19:59:00Z"
  }
}