Deserialization in Facebook Parlai
CVE-2021-39207
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.
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.4 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L.
EPSS exploit prediction
EPSS 0.018, 78.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Facebook Parlai
- Facebookresearch Parlai — versions < 1.1.0
Weakness classification (CWE)
References
- github.com/facebookresearch/ParlAI/security/advisories/GHSA-m87f-9fvv-2mgg (Patch, Third Party Advisory)
- github.com/facebookresearch/ParlAI/commit/4374fa2aba383db6526ab36e939eb1cf8ef99… (Patch, Third Party Advisory)
- github.com/facebookresearch/ParlAI/commit/507d066ef432ea27d3e201da08009872a2f37… (Patch, Third Party Advisory)