VDB
Sign up
—

PYSEC-2020-341

Quick fix

PYSEC-2020-341 — jw-util: upgrade to the fixed version with the command below.

pip install --upgrade 'jw-util>=2.3'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/jw-util
Introduced in: 0Fixed in: 2.3
Fixpip install --upgrade 'jw-util>=2.3'

References