Moderate severityNVD Advisory· Published Sep 10, 2021· Updated Aug 4, 2024
Deserialization of Untrusted Data in parlai
CVE-2021-39207
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
parlaiPyPI | < 1.1.0 | 1.1.0 |
Affected products
2- Range: < 1.1.0
Patches
Vulnerability mechanics
References
10- github.com/advisories/GHSA-m87f-9fvv-2mggghsaADVISORY
- github.com/advisories/GHSA-mwgj-7x7j-6966ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-39207ghsaADVISORY
- packetstormsecurity.com/files/164136/Facebook-ParlAI-1.0.0-Code-Execution-Deserialization.htmlghsaWEB
- github.com/facebookresearch/ParlAI/commit/4374fa2aba383db6526ab36e939eb1cf8ef99879ghsax_refsource_MISCWEB
- github.com/facebookresearch/ParlAI/commit/507d066ef432ea27d3e201da08009872a2f37725ghsax_refsource_MISCWEB
- github.com/facebookresearch/ParlAI/releases/tag/v1.1.0ghsaWEB
- github.com/facebookresearch/ParlAI/security/advisories/GHSA-m87f-9fvv-2mggghsax_refsource_CONFIRMWEB
- github.com/pypa/advisory-database/tree/main/vulns/parlai/PYSEC-2021-330.yamlghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/parlai/PYSEC-2021-334.yamlghsaWEB
News mentions
0No linked articles in our index yet.