ghsa-75px-35p4-qq6h
Vulnerability from github
Published
2025-03-20 12:32
Modified
2025-03-21 18:57
Severity ?
VLAI Severity ?
Summary
Aim External Control of File Name or Path vulnerability
Details
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.
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "aim" }, "ranges": [ { "events": [ { "introduced": "0" }, { "last_affected": "3.19.3" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-6829" ], "database_specific": { "cwe_ids": [ "CWE-73" ], "github_reviewed": true, "github_reviewed_at": "2025-03-21T18:57:32Z", "nvd_published_at": "2025-03-20T10:15:33Z", "severity": "CRITICAL" }, "details": "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.", "id": "GHSA-75px-35p4-qq6h", "modified": "2025-03-21T18:57:33Z", "published": "2025-03-20T12:32:45Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-6829" }, { "type": "PACKAGE", "url": "https://github.com/aimhubio/aim" }, { "type": "WEB", "url": "https://huntr.com/bounties/7c97065c-1b63-4982-82c1-8038be0ed570" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H", "type": "CVSS_V3" } ], "summary": "Aim External Control of File Name or Path vulnerability" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…