CVE-2021-43811 – Code injection via unsafe YAML loading
https://notcve.org/view.php?id=CVE-2021-43811
Sockeye is an open-source sequence-to-sequence framework for Neural Machine Translation built on PyTorch. Sockeye uses YAML to store model and data configurations on disk. Versions below 2.3.24 use unsafe YAML loading, which can be made to execute arbitrary code embedded in config files. An attacker can add malicious code to the config file of a trained model and attempt to convince users to download and run it. If users run the model, the embedded code will run locally. • https://github.com/s-index/CVE-2021-43811 https://github.com/awslabs/sockeye/pull/964 https://github.com/awslabs/sockeye/releases/tag/2.3.24 https://github.com/awslabs/sockeye/security/advisories/GHSA-ggmr-44cv-24pm • CWE-94: Improper Control of Generation of Code ('Code Injection') •