CVE-2021-43811
Code injection via unsafe YAML loading
7.8
HIGH
CVSS 3.1
EPSS 8.7%
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.
How to fix CVE-2021-43811
To remediate CVE-2021-43811, upgrade the affected package to a fixed version below.
- —upgrade to 2.3.24 or later
- —upgrade to 2.3.24 or later
Is CVE-2021-43811 being exploited?
Moderate — EPSS is 8.7%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (2)
- from 0, < 2.3.24
- from 0, < 2.3.24
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |