We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-6829

Arbitrary File Overwrite through tarfile-extraction in aimhubio/aim



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.

Reserved 2024-07-16 | Published 2025-03-20 | Updated 2025-03-20 | Assigner @huntr_ai


CRITICAL: 9.1CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Problem types

CWE-73 External Control of File Name or Path

Product status

Any version
affected

References

huntr.com/bounties/7c97065c-1b63-4982-82c1-8038be0ed570

cve.org (CVE-2024-6829)

nvd.nist.gov (CVE-2024-6829)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2024-6829

Support options

Helpdesk Chat, Email, Knowledgebase