Skip to content

CVE-2024-8769 Arbitrary File Deletion via Relative Path Traversal in aimhubio/aim

CriticalCVSS 9.1 EPSS 0.93%
Published
Updated
Exploit status
No public exploit known

Description

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 products

ProductAffected versionsFixed in
pypi aim(PyPI) >= 3.15.0, <= 3.27.0 No fix listed
pypi aim(PyPI) = 3.15.0 No fix listed
pypi aim(PyPI) = 3.15.1 No fix listed
pypi aim(PyPI) = 3.15.2 No fix listed
pypi aim(PyPI) = 3.16.0 No fix listed
pypi aim(PyPI) = 3.16.1 No fix listed
pypi aim(PyPI) = 3.16.2 No fix listed
pypi aim(PyPI) = 3.17.0 No fix listed
pypi aim(PyPI) = 3.17.1 No fix listed
pypi aim(PyPI) = 3.17.2 No fix listed
pypi aim(PyPI) = 3.17.3 No fix listed
pypi aim(PyPI) = 3.17.4 No fix listed
pypi aim(PyPI) = 3.17.5 No fix listed
pypi aim(PyPI) = 3.17.5rc1 No fix listed
pypi aim(PyPI) = 3.17.5rc2 No fix listed
pypi aim(PyPI) = 3.17.5rc3 No fix listed
pypi aim(PyPI) = 3.17.5rc4 No fix listed
pypi aim(PyPI) = 3.18.0 No fix listed
pypi aim(PyPI) = 3.18.0.dev2 No fix listed
pypi aim(PyPI) = 3.18.0.dev3 No fix listed
pypi aim(PyPI) = 3.18.0.dev4 No fix listed
pypi aim(PyPI) = 3.18.0.dev5 No fix listed
pypi aim(PyPI) = 3.18.1 No fix listed
pypi aim(PyPI) = 3.19.0 No fix listed
pypi aim(PyPI) = 3.19.1 No fix listed
Show 14 more
ProductAffected versionsFixed in
pypi aim(PyPI) = 3.19.2 No fix listed
pypi aim(PyPI) = 3.19.3 No fix listed
pypi aim(PyPI) = 3.20.1 No fix listed
pypi aim(PyPI) = 3.21.0 No fix listed
pypi aim(PyPI) = 3.22.0 No fix listed
pypi aim(PyPI) = 3.23.0 No fix listed
pypi aim(PyPI) = 3.24.0 No fix listed
pypi aim(PyPI) = 3.25.0 No fix listed
pypi aim(PyPI) = 3.25.1 No fix listed
pypi aim(PyPI) = 3.26.0.dev1 No fix listed
pypi aim(PyPI) = 3.26.1 No fix listed
pypi aim(PyPI) = 3.27.0 No fix listed
aimhubio/aim <= latest No fix listed
aimstack aim < 3.24.0 3.24.0

References