8.8

CVE-2021-24040: facebook parlai Deserialization of Untrusted Data

Modified
AliasesGHSA-m87f-9fvv-2mggCVE-2021-39207GHSA-mwgj-7x7j-6966
Published 10-09-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-24040 is a high (CVSS 8.8) Deserialization of Untrusted Data vulnerability in facebook parlai. EPSS estimates a 17.35% chance of exploitation in the next 30 days, higher than 97.1% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Prioritisepublic exploit

Public exploit (exploit-database, 13-09-2021)

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
17.35%
0%100%
Medium · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2reference, exploit-database

Timeline

  1. 10-09-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

parlai is a framework for training and evaluating AI models on a variety of openly available dialogue datasets. In affected versions the package is vulnerable to YAML deserialization attack caused by unsafe loading which leads to Arbitary code execution. This security bug is patched by avoiding unsafe loader users should update to version above v1.1.0. If upgrading is not possible then users can change the Loader used to SafeLoader as a workaround. See commit 507d066ef432ea27d3e201da08009872a2f37725 for details.

CVSS metrics

4 scores · 2 sources · 3 versions

EPSS trend

Probability

17.35%

Chance of exploitation in the next 30 days

Percentile

97%

Versus all other CVEs

30-day change

No change 0.00 pp

From 17.35% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • exploit-databaselocalpythonUnverified

    Facebook ParlAI 1.0.0 - Deserialization of Untrusted Data in parlai

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Facebook1 product
  • parlai≥ unspecified, < 1.1.0 | < 1.1.0
PyPI1 product
  • parlai< 1.1.0 | < 4374fa2aba383db6526ab36e939eb1cf8ef99879

2 vendors · 2 products

References

13 links
Show all 13 references