CRITICAL🇵🇱 Wersja polska

CVE-2024-6829

CVSS 9.1v3.0pub. 2025-03-20upd. 2025-07-23

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.

🤖 AI Analysis
How it works

The attacker controls the `repo.path` and `run_hash` parameters, which allows him to bypass directory existence check mechanisms. Subsequently, the `tarfile.extractall()` function is called on a crafted tar archive, which through a path traversal technique directs extracted files outside the intended target directory. As a result, it is possible to write arbitrary data to any locations in the server's file system – for example, overwriting authorized SSH keys.

Impact

An attacker can write or overwrite arbitrary files on the server, including critical system and configuration files, which may enable persistent unauthorized access to the server (e.g., through SSH key injection).

Mitigation & patch

Apply patches available from the vendor according to references (https://huntr.com/bounties/7c97065c-1b63-4982-82c1-8038be0ed570). Until updated, it is recommended to restrict network access to the tracking server and monitor attempts to write files outside authorized directories.

Who is affected

Aimstack Aim version 3.19.3

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Aimstack Aim

    APP
    Aimstack
    3.19.3
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2024-8769CRITICAL9.1PL ✓same product

Aimstack Aim: path traversal umożliwiający usunięcie dowolnego pliku

CVE-2024-7760CRITICAL9.6PL ✓same product

CSRF w Aimstack Aim — łańcuch podatności z RCE i DoS

CVE-2024-6396CRITICAL9.8PL ✓same product

Nadpisywanie plików i RCE w Aimstack Aim przez funkcję _backup_run

CVE-2024-2195CRITICAL9.8PL ✓same product

RCE w Aimstack Aim – wykonanie kodu przez parametr query w API

CVE-2025-51463HIGH7.0same product

Path Traversal in restore_run_backup() in AIM 3.28.0 allows remote attackers to write arbitrary files to the s...