ADVISORIES

PyPA Advisory Database

PYSEC-2020-341

Details

An exploitable vulnerability exists in the configuration-loading functionality of the jw.util package before 2.3 for Python. When loading a configuration with FromString or FromStream with YAML, one can execute arbitrary Python code, resulting in OS command execution, because safe_load is not used.

Affected packages

EcosystemPackageAffected versions
PyPIjw-util
All versions before 2.3 (fixed in 2.3)

References