8.8

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

CVSS: 8.8v3.1HighModified
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% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
49/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
17.35%
0%100%
Medium · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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

0.00 pp

From 17.35% on 20-09-2026

20-09-202620-10-2026
EPSS score
17.35%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

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

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