Vulnerabilities · 2021 · Facebook
CVE-2021-24040
Facebook Parlai vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Parlai. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Facebook Parlai runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/facebookresearch/ParlAI/security/advisories/GHSA-m87f-9fvv-2mgg · Patch
- packetstormsecurity.com/files/164136/Facebook-ParlAI-1.0.0-Code-Execution-Deserialization. · Exploit
- github.com/facebookresearch/ParlAI/releases/tag/v1.1.0 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-24040
- cve.org/CVERecord?id=CVE-2021-24040
More vulnerabilities in Facebook products
CVE-2025-67779CVE-2025-55184CVE-2025-55183CVE-2025-55182CVE-2025-55181CVE-2024-23347CVE-2023-49062CVE-2023-45239All 124
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.