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 risk
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | parlai | < 1.1.0 | 1.1.0 |
References
- https://github.com/facebookresearch/ParlAI/commit/507d066ef432ea27d3e201da08009872a2f37725
- https://github.com/facebookresearch/ParlAI/commit/4374fa2aba383db6526ab36e939eb1cf8ef99879
- https://github.com/facebookresearch/ParlAI/security/advisories/GHSA-m87f-9fvv-2mgg
- https://nvd.nist.gov/vuln/detail/CVE-2021-24040
- https://github.com/facebookresearch/ParlAI/pull/3402
- https://github.com/facebookresearch/ParlAI/pull/3429
- https://github.com/facebookresearch/ParlAI
- https://github.com/facebookresearch/ParlAI/releases/tag/v1.1.0
- http://packetstormsecurity.com/files/164136/Facebook-ParlAI-1.0.0-Code-Execution-Deserialization.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-39207
- https://github.com/advisories/GHSA-mwgj-7x7j-6966
- https://github.com/pypa/advisory-database/tree/main/vulns/parlai/PYSEC-2021-330.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/parlai/PYSEC-2021-334.yaml
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L- Weakness (CWE)
CWE-502- Platform
- Python (PyPI)
- Package
parlai- Disclosed
- 10.09.2021
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2021-334 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-m87f-9fvv-2mgg - CC BY 4.0
OSV / GitHub Advisory Database - GHSA-mwgj-7x7j-6966 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2021-330 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: parlai
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.