CVE-2024-6851

Source
https://cve.org/CVERecord?id=CVE-2024-6851
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6851.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-6851
Aliases
Published
2025-03-20T10:09:55Z
Modified
2026-08-12T03:51:46Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Arbitrary File Deletion in aimhubio/aim
Details

In version 3.22.0 of aimhubio/aim, the LocalFileManager._cleanup function in the aim tracking server accepts a user-specified glob-pattern for deleting files. The function does not verify that the matched files are within the directory managed by LocalFileManager, allowing a maliciously crafted glob-pattern to lead to arbitrary file deletion.

Database specific
{
    "cna_assigner": "@huntr_ai",
    "cwe_ids": [
        "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6851.json"
}
References

Affected packages

Git / github.com/aimhubio/aim

Affected ranges

Type
GIT
Repo
https://github.com/aimhubio/aim
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:aimstack:aim:3.22.0:*:*:*:*:python:*:*",
    "extracted_events": [
        {
            "introduced": "3.22.0"
        },
        {
            "last_affected": "3.22.0"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

3.*
3.22.0
v3.*
v3.22.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6851.json"