CVE-2021-43811
Sockeye YAML Arbitrary Code Execution Vuln
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.
Source :
[email protected]
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.
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
None
None
awslabs/sockeye Code injection via unsafe YAML loading CVE-2021-43811
sockeye awslabs code-injection poc cve-2021-43811 unsafe-yaml-load
Dockerfile Python
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
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.
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