CVE-2024-24595: Clearml Allegro AI ClearML Stores Credentials Vulnerability

MODERATE
Advisory Identifier: GHSA-gvqv-h7hh-6fcc
CVSS 6.0
CWE-312 CWE-522
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2024-24595
GHSA Identifier GHSA-gvqv-h7hh-6fcc
Severity MODERATE
CVSS v3.1 Base Score 6.0
CWE Classification CWE-312: Cleartext Storage of Sensitive Information
Affected Product Clearml
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (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.

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

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.

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?
CVE-2024-24595 is a security vulnerability in Clearml involving Allegro AI ClearML Stores Credentials in Plaintext in MongoDB Instance under CWE-312: Cleartext Storage of Sensitive Information.
Which Clearml versions are affected?
Affected versions include releases prior to current release patches across affected packages: clearml.
What version fixes CVE-2024-24595?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is clearml affected?
Yes, clearml 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-2024-24595?
CVE-2024-24595 has a CVSS v3.1 base score of 6.0 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2024-24595?
CVE-2024-24595 is classified under CWE-312: Cleartext Storage of Sensitive Information (The product stores sensitive information in cleartext within a resource that might be accessible to another control sphere.).
How can I check PyPI dependencies for CVE-2024-24595?
Run the dependency tree command: 'pip show clearml'. 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-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"
  }
}