Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. aim
  4. ›
  5. CVE-2024-6851

CVE-2024-6851: Aim Path Traversal vulnerability

March 20, 2025 (updated March 21, 2025)

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.

References

  • github.com/advisories/GHSA-mrvr-7493-pfq3
  • github.com/aimhubio/aim
  • github.com/aimhubio/aim/blob/88ac143708fad8737094b74e9e5b25689d18f1a6/aim/sdk/reporter/file_manager.py
  • huntr.com/bounties/839703fb-23b7-4dc4-ae81-44cd4740d3f3
  • nvd.nist.gov/vuln/detail/CVE-2024-6851

Code Behaviors & Features

Detect and mitigate CVE-2024-6851 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.22.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/aim/CVE-2024-6851.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:57 +0000.