Vulnerabilities · 2024 · Aimstack
CVE-2024-8769
Aimstack Aim vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Aim. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Aimstack Aim runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- huntr.com/bounties/59d3472f-f581-4beb-a090-afd36a00ecf7 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2024-8769
- github.com/aimhubio/aim/blob/bb76afe6e9a54364f322520cc4fea2679238f904/aim/sdk/lock_manager
- github.com/advisories/GHSA-4qcx-jx49-6qrh
- github.com/pypa/advisory-database/tree/main/vulns/aim/PYSEC-2026-258.yaml
- pypi.org/project/aim
- nvd.nist.gov/vuln/detail/CVE-2024-8769
- cve.org/CVERecord?id=CVE-2024-8769
More vulnerabilities in Aimstack products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.