Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-1947
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:09 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-1947
Complete source record
{
"id": "d35e9368537dc88d9dddec7ee59d7a43bceea6739d2aad9e142a12431acae228",
"url": "https://osv.dev/vulnerability/CVE-2020-1947",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-1947",
"summary": "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.",
"evidence": "osv:CVE-2020-1947",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-1947",
"aliases": [
"CVE-2020-1947",
"GHSA-v54f-xcmp-43cr"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/shardingsphere",
"type": "GIT",
"events": [
{
"introduced": "f81f4f03b1dd4b426adf1f29ffe93f9540ce6fc9"
},
{
"last_affected": "78a67e8c088ffc0b6f0e2c7418b0217cdc3bb87d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:shardingsphere:4.0.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0-NA"
},
{
"last_affected": "4.0.0-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:shardingsphere:4.0.0:rc3:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0-rc3"
},
{
"last_affected": "4.0.0-rc3"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"4.0.0-NA",
"4.0.0-rc3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-1947.json"
}
}
],
"modified": "2026-10-24T10:30:35.892018100Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/r4a61a24c119bd820da6fb02100d286f8aae55c8f9b94a346b9bb27d8%40%3Cdev.shardingsphere.apache.org%3E"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-1947",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 433858,
"published_at": "2020-03-11T21:15:11.627+00:00"
}