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.
https://aws.amazon.com/security/security-bulletins/AWS-2024-014/
https://www.theregister.com/2023/12/06/atlassian_four_rce_cves/
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://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://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479