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 django-haystack to version 3.4.0 or higher.
Affected versions of this package are vulnerable to Eval Injection through ElasticsearchSearchBackend._to_python in haystack/backends/elasticsearch_backend.py. An attacker can execute arbitrary Python code by supplying Elasticsearch result field values that are deserialized by eval() during search result processing. When a search returns attacker-controlled content, the backend evaluates the raw string value in the Django application process instead of treating it as data. This can let an attacker run shell commands with the web server’s privileges, compromising the application host.