CVE-2013-1865: Keystone OpenStack Keystone Improper Authentication Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-22q6-wwq7-2jj9
CVSS 5.3
CWE-287
Published
Advisory Summary

CVE-2013-1865 is a MODERATE (CVSS 5.3) openstack keystone improper authentication vulnerability vulnerability (CWE-287: Improper Authentication) affecting Keystone libraries in the PyPI ecosystem. The issue involves openstack keystone improper authentication vulnerability. Remediation is available by upgrading affected packages to version 2012.2.4.

CVE-2013-1865 at a Glance

CVE Identifier CVE-2013-1865
GHSA Identifier GHSA-22q6-wwq7-2jj9
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-287: Improper Authentication
Affected Product Keystone
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2013-1865

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: 2012.2.4
pip install keystone>=2012.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-2013-1865, 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 2012.2.4), 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. 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 Keystone Folsom (2012.2) does not properly perform revocation checks for Keystone PKI tokens when done through a server, which allows remote attackers to bypass intended access restrictions via a revoked PKI token.

CVE-2013-1865 Affected Keystone Versions

1 component(s)
Fixed Versions:
2012.2.4
Product / Package Ecosystem Affected Versions Fixed Version
keystone
PyPI
≥ 2012.2
< 2012.2.4
2012.2.4

References

access.redhat.com/errata/rhsa-2013:07... WEB
https://access.redhat.com/errata/RHSA-2013:0708
Keystone Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2013-1865
bugs.launchpad.net/keystone/+bug/11297... WEB
https://bugs.launchpad.net/keystone/+bug/1129713
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=922230
Keystone Source Repository REPOSITORY
https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2013-39.yaml
NVD — CVE-2013-1865 NVD
https://nvd.nist.gov/vuln/detail/CVE-2013-1865
opendev.org/openstack/keystone PACKAGE
https://opendev.org/openstack/keystone
review.openstack.org/ WEB
https://review.openstack.org/#/c/24906
review.openstack.org/24906 WEB
https://review.openstack.org/24906
Keystone Security Information SECURITY
https://web.archive.org/web/20170715155558/http://www.securityfocus.com/bid/58616
Security Fix Commit FIX COMMIT
http://github.com/openstack/keystone/commit/255b1d43500f5d98ec73a0056525b492b14fec05
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101719.html
lists.opensuse.org/opensuse-updates/20... WEB
http://lists.opensuse.org/opensuse-updates/2013-04/msg00000.html
rhn.redhat.com/errata/rhsa-2013-07... WEB
http://rhn.redhat.com/errata/RHSA-2013-0708.html
Keystone Security Information SECURITY
http://www.openwall.com/lists/oss-security/2013/03/20/13
www.ubuntu.com/usn/usn-1772-1 WEB
http://www.ubuntu.com/usn/USN-1772-1

Frequently Asked Questions

What is CVE-2013-1865?
CVE-2013-1865 is a security vulnerability in Keystone involving OpenStack Keystone Improper Authentication vulnerability under CWE-287: Improper Authentication.
Which Keystone versions are affected?
Affected versions include releases prior to 2012.2.4 across affected packages: keystone.
What version fixes CVE-2013-1865?
Upgrading to 2012.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 2012.2.4. Upgrade your dependency to 2012.2.4 or later.
What is the CVSS score of CVE-2013-1865?
CVE-2013-1865 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2013-1865?
CVE-2013-1865 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check PyPI dependencies for CVE-2013-1865?
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-22q6-wwq7-2jj9",
  "modified" : "2024-11-26T18:38:40Z",
  "published" : "2022-05-17T04:56:52Z",
  "aliases" : [ "CVE-2013-1865" ],
  "summary" : "OpenStack Keystone Improper Authentication vulnerability",
  "details" : "OpenStack Keystone Folsom (2012.2) does not properly perform revocation checks for Keystone PKI tokens when done through a server, which allows remote attackers to bypass intended access restrictions via a revoked PKI token.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "keystone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2012.2"
      }, {
        "fixed" : "2012.2.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-1865"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2013:0708"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2013-1865"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/keystone/+bug/1129713"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=922230"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2013-39.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://opendev.org/openstack/keystone"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/#/c/24906"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/24906"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20170715155558/http://www.securityfocus.com/bid/58616"
  }, {
    "type" : "WEB",
    "url" : "http://github.com/openstack/keystone/commit/255b1d43500f5d98ec73a0056525b492b14fec05"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101719.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-updates/2013-04/msg00000.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-0708.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2013/03/20/13"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-1772-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-02-08T18:06:23Z",
    "nvd_published_at" : "2013-03-22T21:55:00Z"
  }
}