Description
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. The issue is fixed in version 2.3.24.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| awslabs | sockeye | < 2.3.24 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
s-index/CVE-2021-43811 ★ 2 · Aug 21, 2022
awslabs/sockeye Code injection via unsafe YAML loading CVE-2021-43811
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | sockeye | < 2.3.24 | 2.3.24 | GHSA-ggmr-44cv-24pm |