ADVISORIES

GitHub Advisory Database

GHSA-v54f-xcmp-43cr

Deserialization of Untrusted Data in Apache ShardingSphere

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.shardingsphere:shardingsphere
From 4.0.0-RC3 before 4.0.1 (fixed in 4.0.1)

References