CVE-2020-1947Apache Shardingsphere
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Shardingsphere We alert you by email or Slack (account required).
- Priority
- 77
- CVSS 3.1
- 9.8
- EPSS
- 33.9% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Mar 11, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Shardingsphere.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.shardingsphere:shardingsphere |
≥ 4.0.0-RC3 < 4.0.1 |
4.0.1 |
— |
Per OSV / GitHub Advisories (GHSA-v54f-xcmp-43cr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | shardingsphere | 4.0.0 |
| apache | shardingsphere | 4.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Vendor Advisory