CVE-2024-6829
Last modified
CVE-2024-6829 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 0.81% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Aimstack | Aim | 3.19.3 |
References
- https://huntr.com/bounties/7c97065c-1b63-4982-82c1-8038be0ed570Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-6829?
How severe is CVE-2024-6829?
How do I fix CVE-2024-6829?
Are you affected by CVE-2024-6829?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
