CVE-2023-1633: Barbican OpenStack Barbican Credential Leak Flaw Vulnerability

MODERATE
Advisory Identifier: GHSA-6qqp-4vm3-359v
CVSS 6.6
CWE-522
Published
Advisory Summary

CVE-2023-1633 is a MODERATE (CVSS 6.6) openstack barbican credential leak flaw vulnerability (CWE-522: Insufficiently Protected Credentials) affecting Barbican libraries in the PyPI ecosystem. The issue involves openstack barbican credential leak flaw. Remediation is available in the latest vendor maintenance releases.

CVE-2023-1633 at a Glance

CVE Identifier CVE-2023-1633
GHSA Identifier GHSA-6qqp-4vm3-359v
Severity MODERATE
CVSS v3.1 Base Score 6.6
CWE Classification CWE-522: Insufficiently Protected Credentials
Affected Product Barbican
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.6

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

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

How to Fix CVE-2023-1633

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

barbican fixed: Latest secure release
pip install barbican>=Latest secure release
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 barbican

How to Check if You Are Affected

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

pip show barbican

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-522: Insufficiently Protected Credentials, where the product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. In Barbican, 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 credentials leak flaw was found in OpenStack Barbican. This flaw allows a local authenticated attacker to read the configuration file, gaining access to sensitive credentials.

CVE-2023-1633 Affected Barbican Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
barbican
PyPI
≤ 16.0.0

References

Frequently Asked Questions

What is CVE-2023-1633?
CVE-2023-1633 is a security vulnerability in Barbican involving OpenStack Barbican credential leak flaw under CWE-522: Insufficiently Protected Credentials.
Which Barbican versions are affected?
Affected versions include releases prior to current release patches across affected packages: barbican.
What version fixes CVE-2023-1633?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is barbican affected?
Yes, barbican is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2023-1633?
CVE-2023-1633 has a CVSS v3.1 base score of 6.6 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L.
What CWE is associated with CVE-2023-1633?
CVE-2023-1633 is classified under CWE-522: Insufficiently Protected Credentials (The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.).
How can I check PyPI dependencies for CVE-2023-1633?
Run the dependency tree command: 'pip show barbican'. 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-6qqp-4vm3-359v",
  "modified" : "2023-09-25T18:33:09Z",
  "published" : "2023-09-24T03:30:20Z",
  "aliases" : [ "CVE-2023-1633" ],
  "summary" : "OpenStack Barbican credential leak flaw",
  "details" : "A credentials leak flaw was found in OpenStack Barbican. This flaw allows a local authenticated attacker to read the configuration file, gaining access to sensitive credentials.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "barbican"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "16.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-1633"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2023-1633"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2181761"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/barbican"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-522" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-09-25T18:33:09Z",
    "nvd_published_at" : "2023-09-24T01:15:43Z"
  }
}