Advisory

GHSA-mwgj-7x7j-6966

Also known as: CVE-2021-24040, CVE-2021-39207, GHSA-m87f-9fvv-2mgg, PYSEC-2021-330, PYSEC-2021-334

Summary

Deserialization of Untrusted Data in ParlAI

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-09-13 20:06 UTC
Modified
2024-12-04 05:39 UTC

Affected packages and fixes

parlai

PyPI · All systems

Affected

  • introduced 0, fixed 1.1.0 (ecosystem)

Fixed versions

1.1.0

Fix

  • Fixed version 1.1.0
    pip install --upgrade parlai==1.1.0

Fix 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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences