Vulnerability details

CVE-2024-6829

aimhubio aimhubio/aim

Arbitrary File Overwrite through tarfile-extraction in aimhubio/aim

CVSS 3.0
9.1Critical

Official 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.

CVSS scores

ScoreVersionSourceVector
9.1Critical 3.0 CVEProject cvelistV5 (CNA) (@huntr_ai) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected products

VendorProductVersionsSource
aimhubio aimhubio/aim v ≤ latest CVEProject cvelistV5 (CNA)

References and advisories

1
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2025-03-20
Last updated
2025-03-20
State
Published
Assigner (CNA)
@huntr_ai

Exploit prediction (EPSS)

0.88%
Probability of exploitation in 30 days
59.3%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
Yes
Exploitation
Proof of concept
Technical impact
Partial

Weaknesses (CWE)

  • CWE-73
    External Control of File Name or Path