~ / search / GHSA-75px-35p4-qq6h

GHSA-75px-35p4-qq6h

Aim External Control of File Name or Path vulnerability

Source: GitHub Advisory Database (reviewed) Critical CVE-2024-6829

Packages

EcosystemPackageAffectedFixed in
PyPI aim <= 3.19.3 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

A vulnerability in aimhubio/aim version 3.19.3 allows an attacker to exploit the `tarfile.extractall()` function to extract the contents of a maliciously crafted tarfile to arbitrary locations on the host server. The attacker can control `repo.path` and `run_hash` to bypass directory existence checks and extract files to unintended locations, potentially overwriting critical files. This can lead to arbitrary data being written to arbitrary locations on the remote tracking server, which could be used for further attacks such as writing a new SSH key to the target server.

References

External links from the advisory. They lead to third-party sites.