PT-2020-15185 · Apache · Apache Shardingsphere

Published

2020-03-11

·

Updated

2022-02-10

·

CVE-2020-1947

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Apache ShardingSphere(incubator) versions 4.0.0-RC3 through 4.0.0
Description The ShardingSphere's web console uses the SnakeYAML library for parsing YAML inputs to load datasource configuration. SnakeYAML allows unmarshalling data to a Java type by using the YAML tag. Unmarshalling untrusted data can lead to security flaws of Remote Code Execution (RCE).
Recommendations For Apache ShardingSphere(incubator) versions 4.0.0-RC3 through 4.0.0, consider disabling the use of the SnakeYAML library for parsing YAML inputs until a patch is available. Restrict access to the web console to minimize the risk of exploitation. Avoid using untrusted YAML inputs in the datasource configuration until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Deserialization of Untrusted Data

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-1947
GHSA-V54F-XCMP-43CR

Affected Products

Apache Shardingsphere