CVE-2023-6110: Python openstackclient OpenStack Improperly Deletes Access Rules Vulnerability

MODERATE
Advisory Identifier: GHSA-2ppf-2m6f-6v6f
CVSS 5.5
CWE-237
Published
Advisory Summary

CVE-2023-6110 is a MODERATE (CVSS 5.5) openstack improperly deletes access rules vulnerability (CWE-237: Improper Handling of Structural Elements) affecting Python openstackclient libraries in the PyPI ecosystem. The issue involves openstack improperly deletes access rules. Remediation is available by upgrading affected packages to version 6.3.0.

CVE-2023-6110 at a Glance

CVE Identifier CVE-2023-6110
GHSA Identifier GHSA-2ppf-2m6f-6v6f
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-237: Improper Handling of Structural Elements
Affected Product Python openstackclient
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.5

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

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

How to Fix CVE-2023-6110

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

python-openstackclient fixed: 6.3.0
pip install python-openstackclient>=6.3.0
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 python-openstackclient

How to Check if You Are Affected

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

pip show python-openstackclient

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-237: Improper Handling of Structural Elements, where the product does not handle or incorrectly handles inputs that are related to complex structures. In Python openstackclient, 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

A flaw was found in OpenStack. When a user tries to delete a non-existing access rule in it's scope, it deletes other existing access rules which are not associated with any application credentials.

CVE-2023-6110 Affected Python openstackclient Versions

1 component(s)
Fixed Versions:
6.3.0
Product / Package Ecosystem Affected Versions Fixed Version
python-openstackclient
PyPI
< 6.3.0
6.3.0

References

Frequently Asked Questions

What is CVE-2023-6110?
CVE-2023-6110 is a security vulnerability in Python openstackclient involving OpenStack improperly deletes access rules under CWE-237: Improper Handling of Structural Elements.
Which Python openstackclient versions are affected?
Affected versions include releases prior to 6.3.0 across affected packages: python-openstackclient.
What version fixes CVE-2023-6110?
Upgrading to 6.3.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is python-openstackclient affected?
Yes, python-openstackclient is affected in releases prior to 6.3.0. Upgrade your dependency to 6.3.0 or later.
What is the CVSS score of CVE-2023-6110?
CVE-2023-6110 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2023-6110?
CVE-2023-6110 is classified under CWE-237: Improper Handling of Structural Elements (The product does not handle or incorrectly handles inputs that are related to complex structures.).
How can I check PyPI dependencies for CVE-2023-6110?
Run the dependency tree command: 'pip show python-openstackclient'. 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-2ppf-2m6f-6v6f",
  "modified" : "2024-11-18T20:08:25Z",
  "published" : "2024-11-17T12:30:29Z",
  "aliases" : [ "CVE-2023-6110" ],
  "summary" : " OpenStack improperly deletes access rules",
  "details" : "A flaw was found in OpenStack. When a user tries to delete a non-existing access rule in it's scope, it deletes other existing access rules which are not associated with any application credentials.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "python-openstackclient"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.3.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-6110"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/python-openstackclient/commit/bc60e3bb908a7f10c87993d791184bfe46784d6c"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:2737"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:2769"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2023-6110"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2212960"
  }, {
    "type" : "WEB",
    "url" : "https://code.engineering.redhat.com/gerrit/gitweb?p=python-openstackclient.git;a=commit;h=7a7c364bdd7b2cd2b56e73724110710a68d58abf"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/python-openstackclient"
  }, {
    "type" : "WEB",
    "url" : "https://review.opendev.org/c/openstack/python-openstackclient/+/888697"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-237" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-11-18T20:08:25Z",
    "nvd_published_at" : "2024-11-17T11:15:06Z"
  }
}