Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
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 applicationsLearn about Arbitrary Command Execution vulnerabilities in an interactive lesson.
Start learningThere is no fixed version for pandas
.
pandas is a Python package providing data structures designed to make working with structured (tabular, multidimensional, potentially heterogeneous) and time series data both easy and intuitive.
Affected versions of this package are vulnerable to Arbitrary Command Execution in the pandas.DataFrame.query()
function, which is commonly exposed by applications to accept user input. Code can be injected into a Python expression, which will be executed with the privileges of the application.
@pd.core.frame.com.builtins.__import__("os").system("""ping google.com #""")