ADVISORIES

Vulnerability

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.

2 advisories report this vulnerability, across 1 ecosystem.

High severity PyPI 2

Advisories

  • GHSA-ggmr-44cv-24pm

    Code injection via unsafe YAML loading

    High CVE-2021-43811 PyPI Updated 8 July 2026
  • PYSEC-2021-848

    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,…

    CVE-2021-43811 PyPI Updated 8 November 2023

References