Skip to content
CriticalVulnerability

CVE-2024-6829: aimhubio/aim tarfile extraction writes files to arbitrary locations

Identifier
CVE-2024-6829
Published
Record updated
View JSON
Affected
  • aim <= 3.19.3
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.9%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2024-6829 affects aimhubio/aim version 3.19.3. An attacker can supply a maliciously crafted tarfile that is extracted with `tarfile.extractall()` to arbitrary locations on the host server by controlling `repo.path` and `run_hash` to bypass directory existence checks. This can overwrite critical files and write arbitrary data to the remote tracking server, which could enable further attacks such as writing a new SSH key to the target server.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.