Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2020-1947 EUVD-2022-1188GHSA-v54f-xcmp-43cr

Deserialization of Untrusted Data in Apache ShardingSphere

Published Mar 11, 2020 · Updated Aug 4, 2024 · Assigned by apache

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache ShardingSphere(incubator) 4.0.0-RC3, 4.0.0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 4 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.shardingsphere:shardingsphere >= 4.0.0-RC3, < 4.0.1 4.0.1 GHSA-v54f-xcmp-43cr

References