CVE-2020-1947
CRITICAL 9.8CVSS 3.1Deserialization of Untrusted Data in Apache ShardingSphere
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.
- Published
- 11 Mar 2020
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-v54f-xcmp-43cr
- Sources
- NVDJSONOSV GHSA-v54f-xcmp-43crJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | shardingspherecpe:2.3:a:apache:shardingsphere:4.0.0:-:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | apache | shardingspherecpe:2.3:a:apache:shardingsphere:4.0.0:rc3:*:*:*:*:*:* |
= 4.0.0 | |
| OSV | Maven | org.apache.shardingsphere:shardingsphere | >= 4.0.0-RC3, < 4.0.1 | 4.0.1 |
References
- https://lists.apache.org/thread.html/r4a61a24c119bd820da6fb02100d286f8aae55c8f9b94a346b9bb27d8%40%3Cdev.shardingsphere.apache.org%3E · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-1947 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 11 Mar 2020)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Feb 2022)