Security mailing lists by PureSourceCode

CVE-2021-39207

HIGH 8.8CVSS 3.1

Deserialization of Untrusted Data in parlai

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.

Published
10 Sep 2021
Last modified
9 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-502
Also known as
CVE-2021-24040GHSA-m87f-9fvv-2mggGHSA-mwgj-7x7j-6966PYSEC-2021-330PYSEC-2021-334
Sources
NVDJSONOSV GHSA-m87f-9fvv-2mggJSONOSV GHSA-mwgj-7x7j-6966JSONOSV PYSEC-2021-330JSONOSV PYSEC-2021-334JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub 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
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.4 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
OSV GitHub CVSS 3.1 HIGH 8.4 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD facebook parlai
cpe:2.3:a:facebook:parlai:*:*:*:*:*:*:*:*
< 1.1.0 1.1.0
OSV PyPI parlai < 1.1.0 1.1.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 10 Sep 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Sep 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Sep 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Sep 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Sep 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.