CVE-2021-39207
published 2021-09-10CVE-2021-39207: 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…
PriorityP355high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
1.74%
74.9th percentile
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.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| parlai | < 1.1.0 | 1.1.0 | |
| parlai | < 4374fa2aba383db6526ab36e939eb1cf8ef99879 | 4374fa2aba383db6526ab36e939eb1cf8ef99879 | |
| parlai | >= 0 < 1.1.0 | 1.1.0 | |
| parlai | >= 0 < 507d066ef432ea27d3e201da08009872a2f37725 | 507d066ef432ea27d3e201da08009872a2f37725 | |
| facebookresearch | parlai | < 1.1.0 | 1.1.0 |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Deserialization of Untrusted Data in parlai
osv·2021-09-13
CVE-2021-24040 [MEDIUM] Deserialization of Untrusted Data in parlai
Deserialization of Untrusted Data in parlai
### Impact
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.
### Patches
The issue can be patched by upgrading to v1.1.0 or later. It can also be patched by replacing YAML deserialization with equivalent safe_load calls.
### References
- https://github.com/facebookresearch/ParlAI/commit/507d066ef432ea27d3e201da08009872a2f37725
- https://github.com/facebookresearch/ParlAI/commit/4374fa2aba383db6526ab36e939eb1cf8ef99879
- https://anon-artist.github.io/blogs/blog3.html
OSV
Deserialization of Untrusted Data in ParlAI
osv·2021-09-13
CVE-2021-24040 [MEDIUM] Deserialization of Untrusted Data in ParlAI
Deserialization of Untrusted Data in ParlAI
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.
GHSA
Deserialization of Untrusted Data in parlai
ghsa·2021-09-13
CVE-2021-39207 [MEDIUM] CWE-502 Deserialization of Untrusted Data in parlai
Deserialization of Untrusted Data in parlai
### Impact
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.
### Patches
The issue can be patched by upgrading to v1.1.0 or later. It can also be patched by replacing YAML deserialization with equivalent safe_load calls.
### References
- https://github.com/facebookresearch/ParlAI/commit/507d066ef432ea27d3e201da08009872a2f37725
- https://github.com/facebookresearch/ParlAI/commit/4374fa2aba383db6526ab36e939eb1cf8ef99879
- https://anon-artist.github.io/blogs/blog3.html
OSV
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,
osv·2021-09-10
CVE-2021-24040 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,
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: parlai is a framework for training and evaluating AI models on a variety of openly available dialogue datasets
osv·2021-09-10
CVE-2021-24040 CVE-2021-24040: parlai is a framework for training and evaluating AI models on a variety of openly available dialogue datasets
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/facebookresearch/ParlAI/commit/4374fa2aba383db6526ab36e939eb1cf8ef99879https://github.com/facebookresearch/ParlAI/commit/507d066ef432ea27d3e201da08009872a2f37725https://github.com/facebookresearch/ParlAI/security/advisories/GHSA-m87f-9fvv-2mgghttps://github.com/facebookresearch/ParlAI/commit/4374fa2aba383db6526ab36e939eb1cf8ef99879https://github.com/facebookresearch/ParlAI/commit/507d066ef432ea27d3e201da08009872a2f37725https://github.com/facebookresearch/ParlAI/security/advisories/GHSA-m87f-9fvv-2mgg
2021-09-10
Published