Skip to main content
← All vulnerabilities
CVE-2021-43811PYSEC-2021-848GHSA-GGMR-44CV-24PM

Code injection via unsafe YAML loading

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.24
1 proof of concept on GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • awslabs sockeye

    fixed in 2.3.24

  • sockeyePyPI

    fixed in 2.3.24

References 4

GitHub · awslabs/sockeye

GitHub · s-index/CVE-2021-43811