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.

INFO

Published Date :

Dec. 8, 2021, 11:15 p.m.

Last Modified :

Dec. 13, 2021, 7:15 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2021-43811 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-43811 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Amazon sockeye
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-43811.

URL Resource
https://github.com/awslabs/sockeye/pull/964 Patch Third Party Advisory
https://github.com/awslabs/sockeye/releases/tag/2.3.24 Release Notes Third Party Advisory
https://github.com/awslabs/sockeye/security/advisories/GHSA-ggmr-44cv-24pm Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

All CVE - PoC in GitHub

poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate

Updated: 1 month, 1 week ago
5 stars 2 fork 2 watcher
Born at : March 22, 2024, 3:58 p.m. This repo has been linked 928 different CVEs too.

None

Updated: 6 months, 3 weeks ago
1 stars 0 fork 0 watcher
Born at : March 11, 2024, 1:21 p.m. This repo has been linked 930 different CVEs too.

None

Updated: 7 months, 2 weeks ago
2 stars 2 fork 2 watcher
Born at : Nov. 25, 2022, 5:43 p.m. This repo has been linked 930 different CVEs too.

awslabs/sockeye Code injection via unsafe YAML loading CVE-2021-43811

sockeye awslabs code-injection poc cve-2021-43811 unsafe-yaml-load

Dockerfile Python

Updated: 1 month, 2 weeks ago
2 stars 1 fork 1 watcher
Born at : Aug. 21, 2022, 8:44 a.m. This repo has been linked 1 different CVEs too.

PoC List

exploit proof-of-concept cve-2020-13957 apache-solr remote-code-execution vulnerability security cve-2021-21341 cve-2021-21349 xstream ssrf dos cve-2020-28502 xmlhttprequest solr-rce poc cve-2021-20717 xss awslabs unsafe-yaml-load

Updated: 6 months, 2 weeks ago
10 stars 2 fork 2 watcher
Born at : Nov. 28, 2020, 7:18 a.m. This repo has been linked 7 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-43811 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-43811 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Dec. 13, 2021

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Changed Reference Type https://github.com/awslabs/sockeye/pull/964 No Types Assigned https://github.com/awslabs/sockeye/pull/964 Patch, Third Party Advisory
    Changed Reference Type https://github.com/awslabs/sockeye/releases/tag/2.3.24 No Types Assigned https://github.com/awslabs/sockeye/releases/tag/2.3.24 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/awslabs/sockeye/security/advisories/GHSA-ggmr-44cv-24pm No Types Assigned https://github.com/awslabs/sockeye/security/advisories/GHSA-ggmr-44cv-24pm Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:amazon:sockeye:*:*:*:*:*:python:*:* versions up to (excluding) 2.3.24
  • CVE Modified by [email protected]

    Dec. 09, 2021

    Action Type Old Value New Value
    Changed 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. 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.
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-43811 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-43811 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.18 }} 0.02%

score

0.55348

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability