RCE in Amazon Sockeye
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. The issue is fixed in version 2.3.24.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.025, 84.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Amazon Sockeye
- Awslabs Sockeye — versions < 2.3.24
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- s-index/CVE-2021-43811 (2 stars, last pushed 2022-08-21): awslabs/sockeye Code injection via unsafe YAML loading CVE-2021-43811
Also mentioned in 8 other repositories (ARPSyndicate/cvemon, NaInSec/CVE-PoC-in-GitHub, nomi-sec/PoC-in-GitHub, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/awslabs/sockeye/security/advisories/GHSA-ggmr-44cv-24pm (Third Party Advisory)
- github.com/awslabs/sockeye/pull/964 (Patch, Third Party Advisory)
- github.com/awslabs/sockeye/releases/tag/2.3.24 (Third Party Advisory, Release Notes)
This CVE has public exploit evidence. See the latest CVEs with public exploits.