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-PYYAML-559098
- published 2 Mar 2020
- disclosed 2 Mar 2020
- credit Riccardo Schirone (Red Hat)
How to fix?
PyYAML to version 5.3.1 or higher.
Affected versions of this package are vulnerable to Arbitrary Code Execution. It is susceptible to arbitrary code execution when it processes untrusted YAML files through the
full_load method or with the
FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. An attacker could use this flaw to execute arbitrary code on the system by abusing the python/object/new constructor.