CVE-2024-6829
published critical CVSS 3.0 · 9.1Arbitrary File Overwrite through tarfile-extraction in aimhubio/aim
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| aimhubio | — | aimhubio/aimunspecified through latest | Affected | Not stated | @huntr_ai |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| aimhubio | aimhubio/aim | unspecified through latest (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-73 CWE-73 External Control of File Name or Path
References
1Provider assertions
2@huntr_ai · cna
Arbitrary File Overwrite through tarfile-extraction in aimhubio/aim
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3af0d1f939e217cd1b32437407dae0f8850267d9f71bcf56c944b3bbc35ba9fb
- Ingested
- 23 Sep 2026, 08:33:19 UTC
- Source record
- Official CVE record