Skip to content
HighVulnerability

CVE-2021-39207: parlai arbitrary code execution through unsafe YAML deserialization

Identifier
CVE-2021-39207
Published
Record updated
View JSON
Affected
  • parlai < 1.1.0
Fixed in
1.1.0
  • released March 1, 2021, 193 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.8%

Summary

ParlAI, a framework for training and evaluating AI models on open dialogue datasets, is vulnerable to a YAML deserialization attack in affected versions. The flaw comes from unsafe loading, which leads to arbitrary code execution.

Mitigation

Patched by avoiding unsafe loading; users should update to version above v1.1.0. If upgrading is not possible, change the Loader to SafeLoader as a workaround. See commit 507d066ef432ea27d3e201da08009872a2f37725 for details.