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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
GitHub 4 repositories
-
jas502n/CVE-2020-1947 ★ 31 · Mar 11, 2020
Apache ShardingSphere UI YAML解析远程代码执行漏洞
-
wsfengfan/CVE-2020-1947 ★ 4 · Mar 11, 2020
CVE-2020-1947 Python POC
-
StarkChristmas/CVE-2020-1947 ★ 1 · May 29, 2020
-
shadowsock5/ShardingSphere_CVE-2020-1947 ★ 1 · Mar 13, 2020
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.shardingsphere:shardingsphere | >= 4.0.0-RC3, < 4.0.1 | 4.0.1 | GHSA-v54f-xcmp-43cr |