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://www.theregister.com/2023/12/06/atlassian_four_rce_cves/

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

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

https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479

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: 2023-11-19

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.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical