7.8

CVE-2021-43811: amazon sockeye Code Injection

CVSS: 7.8v3.1HighModified
AliasesGHSA-ggmr-44cv-24pmPYSEC-2021-848
Published 08-12-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-43811 is a high (CVSS 7.8) Code Injection vulnerability in amazon sockeye. EPSS estimates a 2.45% chance of exploitation in the next 30 days, higher than 84.1% of scored vulnerabilities.

Overall risk
32/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
2.45%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 08-12-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

2.45%

Chance of exploitation in the next 30 days

Percentile

84%

Versus all other CVEs

30-day change

+0.04 pp

From 2.42% on 18-09-2026

18-09-202618-10-2026
EPSS score
2.45%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Amazon1 product
Awslabs1 product
PyPI1 product
  • sockeye< 2.3.24

3 vendors · 3 products

References

6 links