CVE-2022-1471

critical

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.

References

https://github.com/sigreen/lw-spring-boot-poc-fullsend

https://github.com/aykhan019/cve-2022-1471-jira-lab

https://github.com/berinle/spring-enterprise-remediation-demo

https://github.com/seal-sean-org/seans-surf-and-skate

https://github.com/seal-sean-org/yaml-payload

https://github.com/balajiltechai/order-service

https://github.com/seal-sec-demo-2/Java-Example

https://github.com/heyjerrybecker/seevie-pri

https://github.com/anupamojha-eng/sentinel-transitive-cve-demo

https://github.com/banaeye/cvetest

https://github.com/Backline-playground/actimize-service-transitive-bom-cve-test

https://github.com/Backline-playground/actimize-service-bom-managed-cve-test

https://github.com/RohitKumarReddySakam/supply-chain-scanner

https://github.com/seal-sec-demo-2/yaml-payload

https://github.com/Franky-Lim24/snakeyaml_cve_poc

https://github.com/falconkei/snakeyaml_cve_poc

https://github.com/advisories/GHSA-mjmj-j48q-9wg2

https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true

https://security.netapp.com/advisory/ntap-20240621-0006/

https://security.netapp.com/advisory/ntap-20230818-0015/

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

https://groups.google.com/g/kubernetes-security-announce/c/mwrakFaEdnc

https://github.com/mbechler/marshalsec

https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2

https://confluence.atlassian.com/security/cve-2022-1471-snakeyaml-library-rce-vulnerability-in-multiple-products-1296171009.html

http://www.openwall.com/lists/oss-security/2023/11/19/1

http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html

Details

Source: Mitre, NVD

Published: 2022-12-01

Updated: 2026-06-17

Named Vulnerability: ShellTorch

Risk Information

CVSS v2

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Severity: Critical

CVSS v3

Base Score: 9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical

EPSS

EPSS: 0.99569