{"id":"CVE-2020-1947","aliases":["EUVD-2022-1188","GHSA-v54f-xcmp-43cr"],"status":"published","title":"Deserialization of Untrusted Data in Apache ShardingSphere","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.33918,"percentile":0.98405,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-502"],"published":"2020-03-11T20:40:53Z","modified":"2026-10-24T10:30:35Z","exploits":[{"source":"pocgithub","id":"StarkChristmas/CVE-2020-1947","title":"StarkChristmas/CVE-2020-1947","date":"2020-05-29","url":"https://github.com/StarkChristmas/CVE-2020-1947"},{"source":"pocgithub","id":"jas502n/CVE-2020-1947","title":"jas502n/CVE-2020-1947","date":"2020-03-11","url":"https://github.com/jas502n/CVE-2020-1947"},{"source":"pocgithub","id":"shadowsock5/ShardingSphere_CVE-2020-1947","title":"shadowsock5/ShardingSphere_CVE-2020-1947","date":"2020-03-13","url":"https://github.com/shadowsock5/ShardingSphere_CVE-2020-1947"},{"source":"pocgithub","id":"wsfengfan/CVE-2020-1947","title":"wsfengfan/CVE-2020-1947","date":"2020-03-11","url":"https://github.com/wsfengfan/CVE-2020-1947"}],"fixes":[{"ecosystem":"Maven","package":"org.apache.shardingsphere:shardingsphere","fixed_in":["4.0.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.shardingsphere:shardingsphere","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-RC3"},{"last_affected":"4.0.0"},{"fixed":"4.0.1"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.shardingsphere:shardingsphere","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-RC3"},{"fixed":"4.0.1"}]}],"versions":["4.0.0","4.0.0-RC3"]}],"products":[{"vendor":"apache","product":"shardingsphere"},{"vendor":"apache software foundation","product":"apache shardingsphere(incubator)"}],"references":[{"url":"https://lists.apache.org/thread.html/r4a61a24c119bd820da6fb02100d286f8aae55c8f9b94a346b9bb27d8%40%3Cdev.shardingsphere.apache.org%3E","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1947","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-v54f-xcmp-43cr"}],"sources":{"cve":[{"id":"CVE-2020-1947","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.","status":"published","published":"2020-03-11T20:40:53Z","modified":"2024-08-04T06:54:00.37Z","updated_at":"2026-11-02T14:35:56.213477Z"}],"euvd":[{"id":"EUVD-2022-1188","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.","status":"published","published":"2020-03-11T20:40:53Z","modified":"2024-08-04T06:54:00Z","updated_at":"2026-11-03T03:08:10.95725Z"}],"ghsa":[{"id":"GHSA-v54f-xcmp-43cr","title":"Deserialization of Untrusted Data in Apache ShardingSphere","description":"In Apache ShardingSphere(incubator) 4.0.0-RC3 and 4.0.0, the ShardingSphere\u0026#39;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.","status":"published","published":"2022-02-10T20:39:47Z","modified":"2023-02-01T05:05:38Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:36:34.917834Z"}],"nvd":[{"id":"CVE-2020-1947","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.","status":"published","published":"2020-03-11T21:15:11.627Z","modified":"2026-06-17T03:02:42.01Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:05:55.32877Z"}],"osv":[{"id":"CVE-2020-1947","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.","status":"published","published":"2020-03-11T21:15:11.627Z","modified":"2026-10-24T10:30:35.8920181Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:15.212689Z"},{"id":"GHSA-v54f-xcmp-43cr","title":"Deserialization of Untrusted Data in Apache ShardingSphere","description":"In Apache ShardingSphere(incubator) 4.0.0-RC3 and 4.0.0, the ShardingSphere\u0026#39;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.","status":"published","published":"2022-02-10T20:39:47Z","modified":"2023-11-08T04:02:46.619106Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T15:46:56.639206Z"}]}}
