Advisory

PYSEC-2021-334

Also known as: CVE-2021-24040, CVE-2021-39207, GHSA-m87f-9fvv-2mgg, GHSA-mwgj-7x7j-6966, PYSEC-2021-330

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2021-09-10 23:15 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

parlai

PyPI · All systems

Affected

  • introduced 0, fixed 1.1.0 (ecosystem)

Fixed versions

1.1.0

Fix

  • Fixed version 1.1.0
    pip install --upgrade parlai==1.1.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences