Vulnerabilities · 2024 · Aimstack
CVE-2024-6829
Aimstack Aim vulnerability
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.
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/7c97065c-1b63-4982-82c1-8038be0ed570 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2024-6829
- github.com/advisories/GHSA-75px-35p4-qq6h
- github.com/pypa/advisory-database/tree/main/vulns/aim/PYSEC-2026-259.yaml
- pypi.org/project/aim
- nvd.nist.gov/vuln/detail/CVE-2024-6829
- cve.org/CVERecord?id=CVE-2024-6829
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.