Vulnerabilities in pkg:pypi/glance-store
PACKAGECVE-2024-1141 is a MODERATE (CVSS 5.5) glance-store logs s3 access keys vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Glance store libraries in the PyPI ecosystem. The issue involves glance-store logs s3 access keys. Remediation is available in the latest vendor maintenance releases.
pkg:pypi/glance-store
Vulnerability advisories affecting package pkg:pypi/glance-store. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-wgpq-p2hm-56v9 | CVE-2024-1141 | MODERATE | glance-store logs s3 access keys |
CVE-2024-1141 at a Glance
Security Impact
CVSS: 5.5
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:N/A:N).
How to Fix CVE-2024-1141
To remediate this vulnerability, upgrade all affected Glance store dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install glance-store>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show glance-store
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-1141, inspect your installed packages using pip:
pip show glance-store
Analyze the terminal output to locate any version of Glance store 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 glance-store command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Glance store, 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
CVE-2024-1141 Affected Glance store Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
glance-store
|
PyPI |
≤ 4.6.1
|
|
References
Frequently Asked Questions
What is CVE-2024-1141?
Which Glance store versions are affected?
What version fixes CVE-2024-1141?
Is glance-store affected?
What is the CVSS score of CVE-2024-1141?
What CWE is associated with CVE-2024-1141?
How can I check PyPI dependencies for CVE-2024-1141?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wgpq-p2hm-56v9",
"modified" : "2024-05-23T13:55:44Z",
"published" : "2024-02-01T15:30:24Z",
"aliases" : [ "CVE-2024-1141" ],
"summary" : "glance-store logs s3 access keys",
"details" : "A vulnerability was found in python-glance-store. The issue occurs when the package logs the access_key for the glance-store when the DEBUG log level is enabled.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "glance-store"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "4.6.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-1141"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/glance_store/commit/d6e531af4821c8466b1e9404f12f89f6216417f2"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:2732"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2024-1141"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2258836"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/glance_store"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532", "CWE-779" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-05T22:32:25Z",
"nvd_published_at" : "2024-02-01T15:15:08Z"
}
}