Paper/Archive/CVE-2024-8769

CVE-2024-8769

aimhubio aimhubio/aim — Arbitrary File Deletion via Relative Path Traversal in aimhubio/aim

Description · from the CVE record

A vulnerability in the `LockManager.release_locks` function in aimhubio/aim (commit bb76afe) allows for arbitrary file deletion through relative path traversal. The `run_hash` parameter, which is user-controllable, is concatenated without normalization as part of a path used to specify file deletion. This vulnerability is exposed through the `Repo._close_run()` method, which is accessible via the tracking server instruction API. As a result, an attacker can exploit this to delete any arbitrary file on the machine running the tracking server.

Affected

ProductAffectedFixed inSource
aimhubio/aimunspecified – latest–CNA

Scores by source

@huntr_ai (CNA)9.1CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

exploithuntr.com/bounties/59d3472f-f581-4beb-a090-afd36a00ecf7