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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:amazon:sockeye:*:*:*:*:*:python:*:*

History

13 Dec 2021, 19:15

Type Values Removed Values Added
References (MISC) https://github.com/awslabs/sockeye/pull/964 - (MISC) https://github.com/awslabs/sockeye/pull/964 - Patch, Third Party Advisory
References (CONFIRM) https://github.com/awslabs/sockeye/security/advisories/GHSA-ggmr-44cv-24pm - (CONFIRM) https://github.com/awslabs/sockeye/security/advisories/GHSA-ggmr-44cv-24pm - Third Party Advisory
References (MISC) https://github.com/awslabs/sockeye/releases/tag/2.3.24 - (MISC) https://github.com/awslabs/sockeye/releases/tag/2.3.24 - Release Notes, Third Party Advisory
CPE cpe:2.3:a:amazon:sockeye:*:*:*:*:*:python:*:*
CVSS v2 : unknown
v3 : 7.8
v2 : 6.8
v3 : 7.8

09 Dec 2021, 00:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-12-08 23:15

Updated : 2024-02-04 22:08


NVD link : CVE-2021-43811

Mitre link : CVE-2021-43811

CVE.ORG link : CVE-2021-43811


JSON object : View

Products Affected

amazon

  • sockeye
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')