Code Injection Affecting js2py package, versions [0,]
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.05% (24th
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-JS2PY-7300331
- published 21 Jun 2024
- disclosed 20 Jun 2024
- credit Marven11
Introduced: 20 Jun 2024
CVE-2024-28397 Open this link in a new tabHow to fix?
A fix was pushed into the master
branch but not yet published.
Overview
Js2Py is a JavaScript to Python Translator & JavaScript interpreter written in 100% pure Python.
Affected versions of this package are vulnerable to Code Injection through the disable_pyimport
component. With this vulnerability, if the threat actor hosts a website containing a malicious js file or sends a malicious script via HTTP API for victim to parse, usual restrictions can be evaded and any command can be executed on the host.