VDB
Sign up
—

PYSEC-2021-334

Quick fix

PYSEC-2021-334 — parlai: upgrade to the fixed version with the command below.

pip install --upgrade 'parlai>=507d066ef432ea27d3e201da08009872a2f37725'

Details

parlai is a framework for training and evaluating AI models on a variety of openly available dialogue datasets. In affected versions the package is vulnerable to YAML deserialization attack caused by unsafe loading which leads to Arbitary code execution. This security bug is patched by avoiding unsafe loader users should update to version above v1.1.0. If upgrading is not possible then users can change the Loader used to SafeLoader as a workaround. See commit 507d066ef432ea27d3e201da08009872a2f37725 for details.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/parlai
Introduced in: 0Fixed in: 507d066ef432ea27d3e201da08009872a2f37725
Fixpip install --upgrade 'parlai>=507d066ef432ea27d3e201da08009872a2f37725'

References