VOOZH about

URL: https://nvd.nist.gov/vuln/detail/CVE-2022-1471

⇱ NVD - CVE-2022-1471


  1. Vulnerabilities

CVE-2022-1471 Detail

Modified After Enrichment

This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.

Current 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.


View Analysis Description

Analysis 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.

Metrics

 
NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html CVE, Google Inc.
http://www.openwall.com/lists/oss-security/2023/11/19/1 CVE, Google Inc.
https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479 CVE, Google Inc. Issue Tracking  Third Party Advisory 
https://confluence.atlassian.com/security/cve-2022-1471-snakeyaml-library-rce-vulnerability-in-multiple-products-1296171009.html Google Inc.
https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2 CVE, Google Inc. Exploit  Third Party Advisory 
https://github.com/mbechler/marshalsec CVE, Google Inc. Exploit  Third Party Advisory 
https://groups.google.com/g/kubernetes-security-announce/c/mwrakFaEdnc CVE, Google Inc.
https://infosecwriteups.com/%EF%B8%8F-inside-the-160-comment-fight-to-fix-snakeyamls-rce-default-1a20c5ca4d4c Google Inc.
https://security.netapp.com/advisory/ntap-20230818-0015/ CVE, Google Inc.
https://security.netapp.com/advisory/ntap-20240621-0006/ CVE, Google Inc.
https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true CVE, Google Inc. Exploit  Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-502 Deserialization of Untrusted Data πŸ‘ cwe source acceptance level
NIST  
CWE-20 Improper Input Validation Google Inc.  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

15 change records found show changes

CVE Modified by CISA-ADP 6/17/2026 12:22:30 AM

Action Type Old Value New Value
Added SSVC
{"timestamp":"2024-08-07T18:13:22.155371Z","id":"CVE-2022-1471","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}


CVE Modified by Google Inc. 6/17/2026 12:22:30 AM

Action Type Old Value New Value
Added Affected
[{"vendor":"SnakeYAML","product":"SnakeYAML","defaultStatus":"unaffected","versions":[{"version":"0","lessThanOrEqual":"2.0","versionType":"custom","status":"affected"}]}]


CVE Modified by Google Inc. 6/18/2025 5:15:47 AM

Action Type Old Value New Value
Added Reference
https://confluence.atlassian.com/security/cve-2022-1471-snakeyaml-library-rce-vulnerability-in-multiple-products-1296171009.html


Added Reference
https://infosecwriteups.com/%EF%B8%8F-inside-the-160-comment-fight-to-fix-snakeyamls-rce-default-1a20c5ca4d4c


CVE Modified by Google Inc. 2/13/2025 12:15:35 PM

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. We recommend upgrading to version 2.0 and beyond.


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.


CVE Modified by CVE 11/21/2024 1:40:47 AM

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 Google Inc. 6/21/2024 3:15:21 PM

Action Type Old Value New Value
Added Reference
Google Inc. https://security.netapp.com/advisory/ntap-20240621-0006/ [No types assigned]


CVE Modified by Google Inc. 5/14/2024 5:56:33 AM

Action Type Old Value New Value

CVE Modified by Google Inc. 11/19/2023 10:15:20 AM

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 Google Inc. 10/13/2023 12:15:10 PM

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 Google Inc. 8/18/2023 10:15:20 AM

Action Type Old Value New Value
Added Reference
https://security.netapp.com/advisory/ntap-20230818-0015/ [No Types Assigned]


CVE Modified by Google Inc. 4/25/2023 1:15:08 PM

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 NIST 3/21/2023 9:17:25 AM

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 NIST 2/11/2023 12:42:58 PM

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 Google Inc. 12/19/2022 6:15:10 AM

Action Type Old Value New Value
Added Reference
https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479 [No Types Assigned]


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]


Initial Analysis by NIST 12/06/2022 11:46:06 AM

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


Added CWE
NIST CWE-502


Added CPE Configuration
OR
 *cpe:2.3:a:snakeyaml_project:snakeyaml:1.30:*:*:*:*:*:*:*


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


Quick Info

CVE Dictionary Entry:
CVE-2022-1471
NVD Published Date:
12/01/2022
NVD Last Modified:
06/17/2026
Source:
Google Inc.