CVE-2021-39207 is a vulnerability in Facebook Parlai
Published on September 10, 2021
Deserialization of Untrusted Data in parlai
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 Analysis
CVE-2021-39207 can be exploited with network access, and requires small amount of user privileges. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality and integrity, and a small impact on availability.
Weakness Type
What is a Marshaling, Unmarshaling Vulnerability?
The application deserializes untrusted data without sufficiently verifying that the resulting data will be valid.
CVE-2021-39207 has been classified to as a Marshaling, Unmarshaling vulnerability or weakness.
Products Associated with CVE-2021-39207
Want to know whenever a new CVE is published for Facebook Parlai? stack.watch will email you.
Affected Versions
facebookresearch ParlAI Version < 1.1.0 is affected by CVE-2021-39207Vulnerable Packages
The following package name and versions may be associated with CVE-2021-39207
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| pip | parlai | < 1.1.0 | 1.1.0 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.