Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-24040

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-24040, CVE-2021-39207
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:15 UTC · Revision 1

Source evidence

CVE-2021-24040

core-osv · Original source

Published 10 Sept 2021, 22:15 UTC

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.

osv:CVE-2021-24040
Complete source record
{
  "id": "03a03acd585430197d2cdbbd32ab55c3f6524484b437397f4779c33b831502a6",
  "url": "https://osv.dev/vulnerability/CVE-2021-24040",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-24040",
    "summary": "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.",
    "evidence": "osv:CVE-2021-24040",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-24040",
      "aliases": [
        "CVE-2021-24040",
        "CVE-2021-39207",
        "GHSA-m87f-9fvv-2mgg",
        "GHSA-mwgj-7x7j-6966",
        "PYSEC-2021-330",
        "PYSEC-2021-334"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/facebookresearch/parlai",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7092d77796ae23a4b606b8e61aee7c817747add7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:facebook:parlai:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.1.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7092d77796ae23a4b606b8e61aee7c817747add7"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.1.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.0.0",
            "final_mturk",
            "qa_data_collection",
            "v0.10.0",
            "acute_eval",
            "turn_annotations",
            "react_task_demo",
            "qualification_flow_example",
            "v0.9.4",
            "v0.9.3",
            "mturk_archive",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0",
            "v0.8.0",
            "memnn_feedback",
            "mastering_the_dungeon",
            "v0.1.20200716",
            "v0.1.20200416",
            "v0.1.20200409",
            "convai2archive",
            "talkthewalk",
            "personachat"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-24040.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:38.945270323Z",
      "provider": "osv",
      "references": [
        "https://github.com/facebookresearch/ParlAI/releases/tag/v1.1.0",
        "https://github.com/facebookresearch/ParlAI/security/advisories/GHSA-m87f-9fvv-2mgg"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-24040",
        "evidence": "/id"
      },
      {
        "value": "CVE-2021-39207",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384460,
  "published_at": "2021-09-10T22:15:07.443+00:00"
}