CVE-2021-43811CWE-94

Code injection via unsafe YAML loading

High · published December 8, 2021

CVSS v3.1
7.8
EPSS
2%
Percentile
84.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02474 · 84.4th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2021-12-08T23:05Z
EPSS history
Timeline
  • 08 DEC 23:05Z
    Code injection via unsafe YAML loading
    cvelistv5