CVE-2021-43811

HIGH

Sockeye <2.3.24 - Code Injection

Title source: llm

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.

Exploits (1)

nomisec WORKING POC 2 stars
by s-index · poc
https://github.com/s-index/CVE-2021-43811

Scores

CVSS v3 7.8
EPSS 0.0872
EPSS Percentile 92.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE
CWE-94
Status published

Affected Products (2)

amazon/sockeye < 2.3.24
pypi/sockeye < 2.3.24PyPI

Timeline

Published Dec 08, 2021
Tracked Since Feb 18, 2026