Read the docs
TI-2021-19617 Aliases CVE-2021-43811GHSA-ggmr-44cv-24pm

Code injection via unsafe YAML loading

Priority LOW 39CWE-94Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

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.

Why it matters now

EPSS 0.02474 84th percentileScored 2026-11-07
Fix Fixed sockeye (awslabs): 2.3.24sockeye (PyPI): 2.3.24

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
AWSsockeyebefore 2.3.242.3.24Patch availableCNA
—sockeye (PyPI)before 2.3.242.3.24Patch availableGHSA-ggmr-44cv-24pm
  • sockeye VendorAWS Affected before 2.3.24 Fixed in 2.3.24 Patch available CNA
  • sockeye (PyPI) Vendor— Affected before 2.3.24 Fixed in 2.3.24 Patch available GHSA-ggmr-44cv-24pm

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:amazon:sockeye:*:*:*:*:*:python:*:*before 2.3.24VulnerableAWS
  • cpe:2.3:a:amazon:sockeye:*:*:*:*:*:python:*:* Versions before 2.3.24 Vulnerable ·AWS

Remediation

  • Fix · CNA sockeye (awslabs) Fixed in 2.3.24
  • Fix · GHSA-ggmr-44cv-24pm sockeye (PyPI) Fixed in 2.3.24 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-43811
  2. 2026-10-03 Alias added: GHSA-ggmr-44cv-24pm

References

Sources