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

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(100th percentile)

Weaknesses

Deserialization of Untrusted Data

The product deserializes untrusted data without sufficiently verifying that the resulting data will be valid. Learn more on MITRE.

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.