CVE-2024-24595: Clearml Allegro AI ClearML Stores Credentials Vulnerability
MODERATECVE-2024-24595 is a MODERATE (CVSS 6.0) allegro ai clearml stores credentials vulnerability (CWE-312: Cleartext Storage of Sensitive Information) affecting Clearml libraries in the PyPI ecosystem. The issue involves allegro ai clearml stores credentials in plaintext in mongodb instance. Remediation is available in the latest vendor maintenance releases.
CVE-2024-24595 at a Glance
Security Impact
CVSS: 6.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2024-24595
To remediate this vulnerability, upgrade all affected Clearml 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 clearml>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show clearml
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-24595, inspect your installed packages using pip:
pip show clearml
Analyze the terminal output to locate any version of Clearml 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 clearml command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-312: Cleartext Storage of Sensitive Information, where the product stores sensitive information in cleartext within a resource that might be accessible to another control sphere. In Clearml, 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-24595 Affected Clearml Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
clearml
|
PyPI |
≤ 1.14.2
|
|
References
Frequently Asked Questions
What is CVE-2024-24595?
Which Clearml versions are affected?
What version fixes CVE-2024-24595?
Is clearml affected?
What is the CVSS score of CVE-2024-24595?
What CWE is associated with CVE-2024-24595?
How can I check PyPI dependencies for CVE-2024-24595?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gvqv-h7hh-6fcc",
"modified" : "2024-02-13T19:29:43Z",
"published" : "2024-02-06T00:30:28Z",
"aliases" : [ "CVE-2024-24595" ],
"summary" : "Allegro AI ClearML Stores Credentials in Plaintext in MongoDB Instance",
"details" : "Allegro AI’s open-source version of ClearML stores passwords in plaintext within the MongoDB instance, resulting in a compromised server leaking all user emails and passwords.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "clearml"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.14.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-24595"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/allegroai/clearml"
}, {
"type" : "WEB",
"url" : "https://hiddenlayer.com/research/not-so-clear-how-mlops-solutions-can-muddy-the-waters-of-your-supply-chain"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-312", "CWE-522" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-09T21:36:44Z",
"nvd_published_at" : "2024-02-05T22:16:08Z"
}
}