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 :

Nov. 21, 2024, 6:40 a.m.

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.

Affected Products

The following products are affected by CVE-2022-1471 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 Snakeyaml_project snakeyaml
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.

URL Resource
http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html
http://www.openwall.com/lists/oss-security/2023/11/19/1
https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479 Issue Tracking Third Party Advisory
https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2 Exploit Third Party Advisory
https://github.com/mbechler/marshalsec Exploit Third Party Advisory
https://groups.google.com/g/kubernetes-security-announce/c/mwrakFaEdnc
https://security.netapp.com/advisory/ntap-20230818-0015/
https://security.netapp.com/advisory/ntap-20240621-0006/
https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true Exploit Third Party Advisory
http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html
http://www.openwall.com/lists/oss-security/2023/11/19/1
https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479 Issue Tracking Third Party Advisory
https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2 Exploit Third Party Advisory
https://github.com/mbechler/marshalsec Exploit Third Party Advisory
https://groups.google.com/g/kubernetes-security-announce/c/mwrakFaEdnc
https://security.netapp.com/advisory/ntap-20230818-0015/
https://security.netapp.com/advisory/ntap-20240621-0006/
https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true Exploit 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).

None

SCSS Mustache

Updated: 9 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : March 11, 2024, 8:53 a.m. This repo has been linked 52 different CVEs too.

Projeto quarkus para estudo

Java HTML

Updated: 1 year ago
0 stars 0 fork 0 watcher
Born at : Dec. 1, 2023, 10:19 p.m. This repo has been linked 8 different CVEs too.

None

Python

Updated: 1 year, 1 month ago
0 stars 0 fork 0 watcher
Born at : Nov. 8, 2023, 7:19 a.m. This repo has been linked 8 different CVEs too.

None

Kotlin

Updated: 1 year, 2 months ago
0 stars 0 fork 0 watcher
Born at : Oct. 15, 2023, 12:59 p.m. This repo has been linked 4 different CVEs too.

None

Dockerfile Shell

Updated: 1 year, 2 months ago
0 stars 0 fork 0 watcher
Born at : Sept. 28, 2023, 11:20 p.m. This repo has been linked 12 different CVEs too.

Spring Boot 3 and java 17 Application

Java Batchfile

Updated: 1 year, 4 months ago
0 stars 0 fork 0 watcher
Born at : Aug. 12, 2023, 5:11 p.m. This repo has been linked 2 different CVEs too.

None

Dockerfile Java JavaScript TypeScript HTML Vue CSS

Updated: 1 year, 4 months ago
0 stars 0 fork 0 watcher
Born at : Aug. 1, 2023, 10:27 a.m. This repo has been linked 2 different CVEs too.

None

Java HTML CSS JavaScript

Updated: 1 year, 5 months ago
0 stars 0 fork 0 watcher
Born at : July 6, 2023, 12:59 a.m. This repo has been linked 39 different CVEs too.

None

Batchfile Java

Updated: 1 year, 5 months ago
0 stars 0 fork 0 watcher
Born at : June 28, 2023, 6:45 p.m. This repo has been linked 1 different CVEs too.

SnakeYAML-CVE-2022-1471-POC

Dockerfile Java

Updated: 9 months, 1 week ago
2 stars 3 fork 3 watcher
Born at : May 8, 2023, 2:46 p.m. This repo has been linked 1 different CVEs too.

Um exemplo de uso da ferramenta dependency check para avaliar as dependências de uma aplicação

Dockerfile Java HTML

Updated: 1 year, 8 months ago
0 stars 0 fork 0 watcher
Born at : April 17, 2023, 1:06 p.m. This repo has been linked 15 different CVEs too.

Deliberately Insecure Product

Java Dockerfile

Updated: 1 year, 8 months ago
1 stars 0 fork 0 watcher
Born at : March 27, 2023, 3:41 p.m. This repo has been linked 1 different CVEs too.

Code for veracode blog

Java

Updated: 5 months ago
8 stars 4 fork 4 watcher
Born at : March 2, 2023, 4:33 p.m. This repo has been linked 1 different CVEs too.

None

Kotlin

Updated: 1 year, 10 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 22, 2023, 5:27 p.m. This repo has been linked 21 different CVEs too.

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

Updated: 1 year, 4 months ago
4 stars 1 fork 1 watcher
Born at : Feb. 22, 2023, 12:56 a.m. This repo has been linked 1 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-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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html
    Added Reference http://www.openwall.com/lists/oss-security/2023/11/19/1
    Added Reference https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479
    Added Reference https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2
    Added Reference https://github.com/mbechler/marshalsec
    Added Reference https://groups.google.com/g/kubernetes-security-announce/c/mwrakFaEdnc
    Added Reference https://security.netapp.com/advisory/ntap-20230818-0015/
    Added Reference https://security.netapp.com/advisory/ntap-20240621-0006/
    Added Reference https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true
  • 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:*:*:*:*:*:*:*
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-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.

CAPEC-3: Using Leading 'Ghost' Character Sequences to Bypass Input Filters Using Leading 'Ghost' Character Sequences to Bypass Input Filters CAPEC-7: Blind SQL Injection Blind SQL Injection CAPEC-8: Buffer Overflow in an API Call Buffer Overflow in an API Call CAPEC-9: Buffer Overflow in Local Command-Line Utilities Buffer Overflow in Local Command-Line Utilities CAPEC-10: Buffer Overflow via Environment Variables Buffer Overflow via Environment Variables CAPEC-13: Subverting Environment Variable Values Subverting Environment Variable Values CAPEC-14: Client-side Injection-induced Buffer Overflow Client-side Injection-induced Buffer Overflow CAPEC-22: Exploiting Trust in Client Exploiting Trust in Client CAPEC-23: File Content Injection File Content Injection CAPEC-24: Filter Failure through Buffer Overflow Filter Failure through Buffer Overflow CAPEC-28: Fuzzing Fuzzing CAPEC-31: Accessing/Intercepting/Modifying HTTP Cookies Accessing/Intercepting/Modifying HTTP Cookies CAPEC-42: MIME Conversion MIME Conversion CAPEC-43: Exploiting Multiple Input Interpretation Layers Exploiting Multiple Input Interpretation Layers CAPEC-45: Buffer Overflow via Symbolic Links Buffer Overflow via Symbolic Links CAPEC-46: Overflow Variables and Tags Overflow Variables and Tags CAPEC-47: Buffer Overflow via Parameter Expansion Buffer Overflow via Parameter Expansion CAPEC-52: Embedding NULL Bytes Embedding NULL Bytes CAPEC-53: Postfix, Null Terminate, and Backslash Postfix, Null Terminate, and Backslash CAPEC-63: Cross-Site Scripting (XSS) Cross-Site Scripting (XSS) CAPEC-64: Using Slashes and URL Encoding Combined to Bypass Validation Logic Using Slashes and URL Encoding Combined to Bypass Validation Logic CAPEC-67: String Format Overflow in syslog() String Format Overflow in syslog() CAPEC-71: Using Unicode Encoding to Bypass Validation Logic Using Unicode Encoding to Bypass Validation Logic CAPEC-72: URL Encoding URL Encoding CAPEC-73: User-Controlled Filename User-Controlled Filename CAPEC-78: Using Escaped Slashes in Alternate Encoding Using Escaped Slashes in Alternate Encoding CAPEC-79: Using Slashes in Alternate Encoding Using Slashes in Alternate Encoding CAPEC-80: Using UTF-8 Encoding to Bypass Validation Logic Using UTF-8 Encoding to Bypass Validation Logic CAPEC-81: Web Server Logs Tampering Web Server Logs Tampering CAPEC-83: XPath Injection XPath Injection CAPEC-85: AJAX Footprinting AJAX Footprinting CAPEC-88: OS Command Injection OS Command Injection CAPEC-101: Server Side Include (SSI) Injection Server Side Include (SSI) Injection CAPEC-104: Cross Zone Scripting Cross Zone Scripting CAPEC-108: Command Line Execution through SQL Injection Command Line Execution through SQL Injection CAPEC-109: Object Relational Mapping Injection Object Relational Mapping Injection CAPEC-110: SQL Injection through SOAP Parameter Tampering SQL Injection through SOAP Parameter Tampering CAPEC-120: Double Encoding Double Encoding CAPEC-135: Format String Injection Format String Injection CAPEC-136: LDAP Injection LDAP Injection CAPEC-153: Input Data Manipulation Input Data Manipulation CAPEC-182: Flash Injection Flash Injection CAPEC-209: XSS Using MIME Type Mismatch XSS Using MIME Type Mismatch CAPEC-230: Serialized Data with Nested Payloads Serialized Data with Nested Payloads CAPEC-231: Oversized Serialized Data Payloads Oversized Serialized Data Payloads CAPEC-250: XML Injection XML Injection CAPEC-261: Fuzzing for garnering other adjacent user/sensitive data Fuzzing for garnering other adjacent user/sensitive data CAPEC-267: Leverage Alternate Encoding Leverage Alternate Encoding CAPEC-473: Signature Spoof Signature Spoof CAPEC-588: DOM-Based XSS DOM-Based XSS CAPEC-664: Server Side Request Forgery Server Side Request Forgery CAPEC-586: Object Injection Object Injection
Exploit Prediction

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

1.90 }} -0.20%

score

0.88243

percentile

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