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.
References
Link | Resource |
---|---|
https://github.com/facebookresearch/ParlAI/commit/4374fa2aba383db6526ab36e939eb1cf8ef99879 | Patch Third Party Advisory |
https://github.com/facebookresearch/ParlAI/commit/507d066ef432ea27d3e201da08009872a2f37725 | Patch Third Party Advisory |
https://github.com/facebookresearch/ParlAI/security/advisories/GHSA-m87f-9fvv-2mgg | Patch Third Party Advisory |
Configurations
History
No history.
Information
Published : 2021-09-10 23:15
Updated : 2024-02-28 18:48
NVD link : CVE-2021-39207
Mitre link : CVE-2021-39207
CVE.ORG link : CVE-2021-39207
JSON object : View
Products Affected
- parlai
CWE
CWE-502
Deserialization of Untrusted Data