parlai
Affected
- introduced
0, fixed1.1.0(ecosystem)
Fixed versions
1.1.0
Fix
- Fixed version
1.1.0pip install --upgrade parlai==1.1.0
Advisory
Also known as: CVE-2021-24040, CVE-2021-39207, GHSA-mwgj-7x7j-6966, PYSEC-2021-330, PYSEC-2021-334
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
Medium Basis: The source's own band: MODERATE
0, fixed 1.1.0 (ecosystem)1.1.0
1.1.0pip install --upgrade parlai==1.1.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0