Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
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 applicationsUpgrade jupyterlab-git
to version 0.51.1 or higher.
jupyterlab-git is an A JupyterLab extension for version control using git
Affected versions of this package are vulnerable to Command Injection in the addCommands()
function, which executes a cd
command on the input passed in to the "Open Git Repository in Terminal" interface. If a user with permission to create a repository names the repository with a malicious string including command substitution - i.e. $(command)
they can cause the command to be executed when another user accesses the "Open Git Repository in Terminal" interface.
This vulnerability can be avoided in any of the following three ways:
Set c.ServerApp.terminals_enabled = False
on the server to disable use of a terminal
Run jupyter server extension disable jupyter_server_terminals
to disable the use of a terminal on the server extension
Run jupyter labextension disable @jupyterlab/terminal-extension
on the lab extension.
mkdir '$(touch pwned.txt)'
cd '$(touch pwned.txt)/'
git init
cd ..