Description
In Apache ShardingSphere(incubator) 4.0.0-RC3 and 4.0.0, the ShardingSphere's web console uses the SnakeYAML library for parsing YAML inputs to load datasource configuration. SnakeYAML allows to unmarshal data to a Java type By using the YAML tag. Unmarshalling untrusted data can lead to security flaws of RCE.
Remediation
References
https://lists.apache.org/thread.html/r4a61a24c119bd820da6fb02100d286f8aae55c8f9b94a346b9bb27d8%40%3Cdev.shardingsphere.apache.org%3E
Related Vulnerabilities
CVE-2017-16153 Vulnerability in npm package gaoxuyan
CVE-2022-34784 Vulnerability in maven package org.jenkins-ci.plugins:build-metrics
CVE-2015-6420 Vulnerability in maven package commons-collections:commons-collections
CVE-2017-5644 Vulnerability in maven package org.apache.poi:poi
CVE-2023-46998 Vulnerability in maven package org.webjars.bowergithub.makeusabrew:bootbox