PT-2021-15661 · Parlai · Parlai

Anon-Artist

·

Published

2021-09-10

·

Updated

2021-09-24

·

CVE-2021-24040

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: ParlAI versions prior to 1.1.0
Description: Due to the 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 allows attackers to exploit the vulnerability by modifying local YAML configuration files.
Recommendations: For versions prior to 1.1.0, upgrade to v1.1.0 or later to patch the issue. As a temporary workaround, replace YAML deserialization with equivalent safe load calls. Consider changing the Loader used to SafeLoader to minimize the risk of exploitation.

Exploit

Fix

Deserialization of Untrusted Data

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-24040
GHSA-M87F-9FVV-2MGG
GHSA-MWGJ-7X7J-6966
PYSEC-2021-330
PYSEC-2021-334

Affected Products

Parlai