Code injection via unsafe YAML loading
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
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| AWS | sockeye | before 2.3.24 | 2.3.24 | Patch available | CNA |
| — | sockeye (PyPI) | before 2.3.24 | 2.3.24 | Patch available | GHSA-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
Remediation
- Fix · CNA sockeye (awslabs) Fixed in 2.3.24
- Fix · GHSA-ggmr-44cv-24pm sockeye (PyPI) Fixed in 2.3.24 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-43811
- 2026-10-03 Alias added: GHSA-ggmr-44cv-24pm
References
Advisory 3
Sources
- CVE-2021-43811 · CVE Program
- CVE-2021-43811 · NVD
- FIRST EPSS
- GHSA-ggmr-44cv-24pm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences