Arbitrary Code Execution Affecting sockeye package, versions [,2.3.24)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
2.47% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-SOCKEYE-2313698
  • published9 Dec 2021
  • disclosed9 Dec 2021
  • creditUnknown

Introduced: 9 Dec 2021

CVE-2021-43811  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade sockeye to version 2.3.24 or higher.

Overview

sockeye is an open-source sequence-to-sequence framework for Neural Machine Translation built on PyTorch.

Affected versions of this package are vulnerable to Arbitrary Code Execution via 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.

CVSS Base Scores

version 3.1