Vulnerability · Published Sep 10, 2021 · Assigned by facebook
CVE-2021-24040
Critical 9.8
In plain English
A critical-severity unsafe deserialization in ParlAI from Facebook. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 17.4% (higher than 97% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)17.4%top 2.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | parlai | 1.1.0 | GHSA-m87f-9fvv-2mgg |
| PyPI | parlai | 1.1.0 | GHSA-mwgj-7x7j-6966 |
| PyPI | parlai | 1.1.0 | PYSEC-2021-330 |
| PyPI | parlai | 1.1.0 | PYSEC-2021-334 |
Affected products (as reported)
Weakness: CWE-502