CVE-2022-1471
SnakeYaml Remote Code Execution (RCE)
Description
SnakeYaml's Constructor() class does not restrict types which can be instantiated during deserialization. Deserializing yaml content provided by an attacker can lead to remote code execution. We recommend using SnakeYaml's SafeConsturctor when parsing untrusted content to restrict deserialization. We recommend upgrading to version 2.0 and beyond.
INFO
Published Date :
Dec. 1, 2022, 11:15 a.m.
Last Modified :
June 21, 2024, 7:15 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2022-1471 has a 21 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-2022-1471
.
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).
None
SCSS Mustache
Projeto quarkus para estudo
Java HTML
None
Python
None
Kotlin
None
Dockerfile Shell
Spring Boot 3 and java 17 Application
Java Batchfile
None
Dockerfile Java JavaScript TypeScript HTML Vue CSS
None
Java HTML CSS JavaScript
None
Batchfile Java
SnakeYAML-CVE-2022-1471-POC
Dockerfile Java
Um exemplo de uso da ferramenta dependency check para avaliar as dependências de uma aplicação
Dockerfile Java HTML
Deliberately Insecure Product
Java Dockerfile
Code for veracode blog
Java
None
Kotlin
Drop in replacement for Snake YAML 1.33, this is a fork of the latest changes. The default constructors have been changed to no longer allow remote execution during deserialization.
java java-8 java-library library yaml yaml-configuration yaml-parser yaml-processor
Java
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-1471
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-1471
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]
Jun. 21, 2024
Action Type Old Value New Value Added Reference Google Inc. https://security.netapp.com/advisory/ntap-20240621-0006/ [No types assigned] -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 19, 2023
Action Type Old Value New Value Added Reference Google Inc. http://www.openwall.com/lists/oss-security/2023/11/19/1 [No types assigned] -
CVE Modified by [email protected]
Oct. 13, 2023
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html [No Types Assigned] -
CVE Modified by [email protected]
Aug. 18, 2023
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20230818-0015/ [No Types Assigned] -
CVE Modified by [email protected]
Apr. 25, 2023
Action Type Old Value New Value Changed Description SnakeYaml's Constructor() class does not restrict types which can be instantiated during deserialization. Deserializing yaml content provided by an attacker can lead to remote code execution. We recommend using SnakeYaml's SafeConsturctor when parsing untrusted content to restrict deserialization. SnakeYaml's Constructor() class does not restrict types which can be instantiated during deserialization. Deserializing yaml content provided by an attacker can lead to remote code execution. We recommend using SnakeYaml's SafeConsturctor when parsing untrusted content to restrict deserialization. We recommend upgrading to version 2.0 and beyond. Added Reference https://groups.google.com/g/kubernetes-security-announce/c/mwrakFaEdnc [No Types Assigned] -
Reanalysis by [email protected]
Mar. 21, 2023
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:snakeyaml_project:snakeyaml:1.30:*:*:*:*:*:*:* OR *cpe:2.3:a:snakeyaml_project:snakeyaml:*:*:*:*:*:*:*:* versions up to (excluding) 2.0 -
Modified Analysis by [email protected]
Feb. 11, 2023
Action Type Old Value New Value Changed Reference Type https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479 No Types Assigned https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479 Issue Tracking, Third Party Advisory Changed Reference Type https://github.com/mbechler/marshalsec No Types Assigned https://github.com/mbechler/marshalsec Exploit, Third Party Advisory Changed Reference Type https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true No Types Assigned https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true Exploit, Third Party Advisory -
CVE Modified by [email protected]
Dec. 19, 2022
Action Type Old Value New Value Added Reference https://github.com/mbechler/marshalsec [No Types Assigned] Added Reference https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true [No Types Assigned] Added Reference https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479 [No Types Assigned] -
Initial Analysis by [email protected]
Dec. 06, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2 No Types Assigned https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2 Exploit, Third Party Advisory Added CWE NIST CWE-502 Added CPE Configuration OR *cpe:2.3:a:snakeyaml_project:snakeyaml:1.30:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-1471
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-2022-1471
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
2.10 }} -1.52%
score
0.89315
percentile