Live threats

All CVEs / Amazon

CVE-2021-43811Amazon Sockeye

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
2.5%
probability of exploitation in 30 days · percentile 85
Auth required
Yes
Published
Dec 8, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sockeye.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI sockeye < 2.3.24 2.3.24 pip install "sockeye>=2.3.24"
PyPI sockeye < 2.3.24 2.3.24 pip install "sockeye>=2.3.24"

Per OSV / GitHub Advisories (GHSA-ggmr-44cv-24pm, PYSEC-2021-848). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
amazonsockeye< 2.3.24

Official sources

References

Links published by the sources. Open them with care.