CVE-2024-8769

Critical

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductAim
PublishedMar 20, 2025
First seenMar 20, 2025

How to fix

Update
  • aimstack aim3.24.0 or later

Affected products

ProductAffected versionsFixed in
aimstack aimv < 3.24.03.24.0
aimPyPI3.15.0 ≤ v ≤ 3.27.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.