CVE-2021-24040
Deserialization of Untrusted Data in ParlAI
8.4
HIGH
CVSS 3.1
EPSS 36.2%
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.
How to fix CVE-2021-24040
To remediate CVE-2021-24040, upgrade the affected package to a fixed version below.
- —upgrade to 1.1.0 or later
- —upgrade to 1.1.0 or later
- —upgrade to 1.1.0 or later
- —upgrade to 507d066ef432ea27d3e201da08009872a2f37725 or later
Is CVE-2021-24040 being exploited?
Moderate — EPSS is 36.2%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (4)
- from 0, < 1.1.0
- from 0, < 1.1.0
- from 0, < 1.1.0
- from 0, < 507d066ef432ea27d3e201da08009872a2f37725, < 4374fa2aba383db6526ab36e939eb1cf8ef99879 | from 0, < 1.1.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | HIGH8.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L |