CVE-2021-24040
CRITICAL 9.8CVSS 3.1Deserialization of Untrusted Data in parlai
Due to use of unsafe YAML deserialization logic, an attacker with the ability to modify local YAML configuration files could provide malicious input, resulting in remote code execution or similar risks. This issue affects ParlAI prior to v1.1.0.
- Published
- 10 Sep 2021
- Last modified
- 9 Jul 2026
- Assigned by
- cve-assign@fb.com
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- CVE-2021-39207GHSA-m87f-9fvv-2mggGHSA-mwgj-7x7j-6966PYSEC-2021-330PYSEC-2021-334
- Sources
- NVDJSONOSV GHSA-m87f-9fvv-2mggJSONOSV GHSA-mwgj-7x7j-6966JSONOSV PYSEC-2021-330JSONOSV PYSEC-2021-334JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | parlaicpe:2.3:a:facebook:parlai:*:*:*:*:*:*:*:* |
< 1.1.0 | 1.1.0 | |
| OSV | PyPI | parlai | < 1.1.0 | 1.1.0 |
References
- http://packetstormsecurity.com/files/164136/Facebook-ParlAI-1.0.0-Code-Execution-Deserialization.html · Exploit, Third Party Advisory, VDB Entry, WEB
- https://github.com/facebookresearch/ParlAI/releases/tag/v1.1.0 · Release Notes, Third Party Advisory, WEB
- https://github.com/facebookresearch/ParlAI/security/advisories/GHSA-m87f-9fvv-2mgg · Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-39207 · ADVISORY
- https://github.com/facebookresearch/ParlAI/commit/4374fa2aba383db6526ab36e939eb1cf8ef99879 · WEB, FIX
- https://github.com/facebookresearch/ParlAI/commit/507d066ef432ea27d3e201da08009872a2f37725 · WEB, FIX
- https://github.com/advisories/GHSA-mwgj-7x7j-6966 · ADVISORY
- https://github.com/facebookresearch/ParlAI · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/parlai/PYSEC-2021-330.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/parlai/PYSEC-2021-334.yaml · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-24040 · ADVISORY
- https://github.com/facebookresearch/ParlAI/pull/3402 · WEB
- https://github.com/facebookresearch/ParlAI/pull/3429 · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 10 Sep 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Sep 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Sep 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Sep 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Sep 2021)