{"id":"CVE-2021-24040","published":"2021-09-10T22:10:10Z","modified":"2024-08-03T19:21:17Z","title":"Due to use of unsafe YAML deserialization logic, an attacker with the ability to modify local YAML configuration files…","vendor":"Meta","product":"ParlAI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.17353,"percentile":0.97187,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/facebookresearch/ParlAI/releases/tag/v1.1.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/facebookresearch/ParlAI/security/advisories/GHSA-m87f-9fvv-2mgg","tags":["x_refsource_CONFIRM"]},{"url":"http://packetstormsecurity.com/files/164136/Facebook-ParlAI-1.0.0-Code-Execution-Deserialization.html","tags":["x_refsource_MISC"]}],"priority":{"score":24.4,"factors":[{"name":"EPSS percentile","points":19.44},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2021-09-13"},"first":{"date":"2021-09-13","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/50289"},"provenance":"source"},"vendorSlug":"meta","affectedVersions":[{"vendor":"Facebook","product":"ParlAI","versions":[">= unspecified, < 1.1.0"]}],"affected":[{"ecosystem":"PyPI","package":"parlai","vulnerableRanges":["<1.1.0"],"patched":["1.1.0"],"from":["GHSA-mwgj-7x7j-6966","PYSEC-2021-330","PYSEC-2021-334"],"provenance":"source"}],"summary":{"text":"The flaw is an unsafe YAML deserialization in Meta's ParlAI, affecting versions prior to v1.1.0, where the library's handling of local YAML configuration files does not safely parse untrusted input. An attacker who can modify those local YAML configuration files can supply malicious content that may lead to remote code execution or similar impacts, provided they already have the local ability to write to the configuration files.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:48:20Z"},"euvd":{"id":"EUVD-2021-0165","exploited":false,"provenance":"source"},"exploits":[{"id":50289,"url":"https://www.exploit-db.com/exploits/50289","title":"Facebook ParlAI 1.0.0 - Deserialization of Untrusted Data in parlai","date":"2021-09-13","verified":false,"provenance":"source"}],"exploitRefs":["http://packetstormsecurity.com/files/164136/Facebook-ParlAI-1.0.0-Code-Execution-Deserialization.html"],"lineage":{"familyId":"fam-meta-parlai-cve-2021-24040","children":[{"from":"CVE-2021-24040","to":"CVE-2021-39207","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-m87f-9fvv-2mgg","via":"reference","url":"https://github.com/facebookresearch/ParlAI/security/advisories/GHSA-m87f-9fvv-2mgg"},{"kind":"osv-related","provenance":"source","id":"GHSA-mwgj-7x7j-6966","via":"reference","url":"https://github.com/facebookresearch/ParlAI/security/advisories/GHSA-m87f-9fvv-2mgg"}]}]}}