Arbitrary File Write via Archive Extraction Affecting aim package, versions [0,]
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-AIM-7444639
- published 12 Jul 2024
- disclosed 12 Jul 2024
- credit patrik-ha
Introduced: 12 Jul 2024
CVE-2024-6396 Open this link in a new tabHow to fix?
There is no fixed version for aim
.
Overview
aim is a super-easy way to record, search and compare AI experiments.
Affected versions of this package are vulnerable to Arbitrary File Write via Archive Extraction through the manipulation of file paths. An attacker could remotely overwrite any file on the host server and to exfiltrate any data from the host server. This can be abused to cause denial of service by overwriting critical system files, loss of private data, and remote code execution by downloading private ssh-keys.
Note:
Having full control over these zip files leads to two vulnerabilities:
The first is being able to overwrite any existing file on the system(e.g. the contents of the file is not "useful" to the attacker, but it can nevertheless be used to cause denial of service by overwriting critical system files).
The second vulnerability is achieved by using the built-in sshfs-client
of the project to mount an external directory, and write the zip file to that. This is an intended feature of the project, being a way of getting files off of the vulnerable system.