Skip to content

Deserialization of Untrusted Data in Apache ShardingSphere

High severity GitHub Reviewed Published Feb 10, 2022 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

maven org.apache.shardingsphere:shardingsphere (Maven)

Affected versions

>= 4.0.0-RC3, <= 4.0.0

Patched versions

4.0.1

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.

References

Published by the National Vulnerability Database Mar 11, 2020
Reviewed Apr 26, 2021
Published to the GitHub Advisory Database Feb 10, 2022
Last updated Feb 1, 2023

Severity

High

EPSS score

0.578%
(78th percentile)

Weaknesses

CVE ID

CVE-2020-1947

GHSA ID

GHSA-v54f-xcmp-43cr

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.