{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-24040","id":"CVE-2021-24040","title":"Deserialization of Untrusted Data in parlai","description":"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.","descriptionLong":"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":"2021-09-10T22:10:10.000Z","updated":"2026-10-20T10:53:38.945270323Z","reserved":"2021-01-13T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"facebook","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L","rating":"high","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":["Facebook ParlAI"],"affectedProducts":[{"vendor":"Facebook","product":"ParlAI","defaultStatus":null,"versions":[{"lessThan":"unspecified","status":"unaffected","version":"1.1.0","versionType":"custom"},{"lessThan":"1.1.0","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"parlai","purl":"pkg:pypi/parlai","ranges":["<1.1.0"],"fixed":["1.1.0"],"advisory":"GHSA-m87f-9fvv-2mgg"}],"cwes":["CWE-502"],"aliases":["CVE-2021-39207","GHSA-m87f-9fvv-2mgg","GHSA-mwgj-7x7j-6966","PYSEC-2021-330","PYSEC-2021-334"],"references":[{"url":"https://github.com/facebookresearch/ParlAI/releases/tag/v1.1.0","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://github.com/facebookresearch/ParlAI/security/advisories/GHSA-m87f-9fvv-2mgg","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web","advisory"]},{"url":"http://packetstormsecurity.com/files/164136/Facebook-ParlAI-1.0.0-Code-Execution-Deserialization.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39207","tags":["advisory"]},{"url":"https://github.com/facebookresearch/ParlAI/commit/4374fa2aba383db6526ab36e939eb1cf8ef99879","tags":["web","fix"]},{"url":"https://github.com/facebookresearch/ParlAI/commit/507d066ef432ea27d3e201da08009872a2f37725","tags":["web","fix"]},{"url":"https://github.com/advisories/GHSA-mwgj-7x7j-6966","tags":["advisory"]},{"url":"https://github.com/facebookresearch/ParlAI","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/parlai/PYSEC-2021-330.yaml","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/parlai/PYSEC-2021-334.yaml","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24040","tags":["advisory"]},{"url":"https://github.com/facebookresearch/ParlAI/pull/3402","tags":["web"]},{"url":"https://github.com/facebookresearch/ParlAI/pull/3429","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.17353,"epssPercentile":0.97177,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-24040","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24040","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-24040","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m87f-9fvv-2mgg","ok":true,"note":"GHSA-m87f-9fvv-2mgg"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mwgj-7x7j-6966","ok":true,"note":"GHSA-mwgj-7x7j-6966"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-24040","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 17% with CVSS 9.8"],"attention":null}