CVE-2021-43811 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/awslabs/sockeye/pull/964 | CVE | PatchThird Party Advisory |
| https://github.com/awslabs/sockeye/releases/tag/2.3.24 | CVE | Release NotesThird Party Advisory |
| https://github.com/awslabs/sockeye/security/advisories/GHSA-ggmr-44cv-24pm | CVE | Third Party Advisory |
| https://github.com/awslabs/sockeye/pull/964 | [email protected] | PatchThird Party Advisory |
| https://github.com/awslabs/sockeye/releases/tag/2.3.24 | [email protected] | Release NotesThird Party Advisory |
| https://github.com/awslabs/sockeye/security/advisories/GHSA-ggmr-44cv-24pm | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| amazon sockeye | < 2.3.24 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Dec 13, 2021 | Initial Analysis | [email protected] |
| Dec 9, 2021 | CVE Modified | [email protected] |