CVE-2021-43811 Code injection via unsafe YAML loading
HighCVSS 7.8
EPSS 2.5%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Amazon sockeye | < 2.3.24 | 2.3.24 | Fixed |
| pypi sockeye(PyPI) | < 2.3.24; = 1.0.1; = 1.0.2; = 1.0.3 +61 more | 2.3.24 | Fixed |
| awslabs sockeye | = < 2.3.24 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi sockeye(PyPI) | < 2.3.24 | 2.3.24 |
| pypi sockeye(PyPI) | = 1.0.1 | No fix listed |
| pypi sockeye(PyPI) | = 1.0.2 | No fix listed |
| pypi sockeye(PyPI) | = 1.0.3 | No fix listed |
| pypi sockeye(PyPI) | = 1.1.1 | No fix listed |
| pypi sockeye(PyPI) | = 1.10.1 | No fix listed |
| pypi sockeye(PyPI) | = 1.10.3 | No fix listed |
| pypi sockeye(PyPI) | = 1.10.4 | No fix listed |
| pypi sockeye(PyPI) | = 1.10.5 | No fix listed |
| pypi sockeye(PyPI) | = 1.13.0 | No fix listed |
| pypi sockeye(PyPI) | = 1.15.5 | No fix listed |
| pypi sockeye(PyPI) | = 1.15.6 | No fix listed |
| pypi sockeye(PyPI) | = 1.15.7 | No fix listed |
| pypi sockeye(PyPI) | = 1.15.8 | No fix listed |
| pypi sockeye(PyPI) | = 1.16.0 | No fix listed |
| pypi sockeye(PyPI) | = 1.16.1 | No fix listed |
| pypi sockeye(PyPI) | = 1.16.2 | No fix listed |
| pypi sockeye(PyPI) | = 1.17.0 | No fix listed |
| pypi sockeye(PyPI) | = 1.17.2 | No fix listed |
| pypi sockeye(PyPI) | = 1.17.4 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.1 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.10 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.106 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.13 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.15 | No fix listed |
Show 42 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi sockeye(PyPI) | = 1.18.17 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.20 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.21 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.22 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.23 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.28 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.35 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.41 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.47 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.5 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.54 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.56 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.57 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.6 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.61 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.67 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.72 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.78 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.8 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.85 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.9 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.92 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.93 | No fix listed |
| pypi sockeye(PyPI) | = 1.18.97 | No fix listed |
| pypi sockeye(PyPI) | = 1.5.1 | No fix listed |
| pypi sockeye(PyPI) | = 1.7.1 | No fix listed |
| pypi sockeye(PyPI) | = 1.8.3 | No fix listed |
| pypi sockeye(PyPI) | = 2.1.13 | No fix listed |
| pypi sockeye(PyPI) | = 2.1.16 | No fix listed |
| pypi sockeye(PyPI) | = 2.1.17 | No fix listed |
| pypi sockeye(PyPI) | = 2.1.21 | No fix listed |
| pypi sockeye(PyPI) | = 2.1.7 | No fix listed |
| pypi sockeye(PyPI) | = 2.2.0 | No fix listed |
| pypi sockeye(PyPI) | = 2.2.8 | No fix listed |
| pypi sockeye(PyPI) | = 2.3.10 | No fix listed |
| pypi sockeye(PyPI) | = 2.3.14 | No fix listed |
| pypi sockeye(PyPI) | = 2.3.17 | No fix listed |
| pypi sockeye(PyPI) | = 2.3.2 | No fix listed |
| pypi sockeye(PyPI) | = 2.3.22 | No fix listed |
| pypi sockeye(PyPI) | = 2.3.8 | No fix listed |
| Amazon sockeye | < 2.3.24 | 2.3.24 |
| awslabs sockeye | = < 2.3.24 | No fix listed |
References
- github.com third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com product
- github.com release-notes third-party-advisory
- github.com
- github.com