WaratekVRT Sign in

CVE-2020-1947 Apache ShardingSphere

Affected softwareApache ShardingSphere
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in4.0.1
WeaknessDeserialization of untrusted data (CWE-502)
Published11 Mar 2020
Updated17 Jun 2026

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.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 4 indexed Published artifacts you can open, in GitHub PoC; first seen 2020-03-11.
  • EPSS 34% chance in 30 days A model's forecast, not a report of exploitation. Higher than 98% of all scored CVEs.

3 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC Apache ShardingSphere UI YAML解析远程代码执行漏洞 31 2020-03-11
GitHub PoC CVE-2020-1947 Python POC 4 2020-03-11
GitHub PoC StarkChristmas/CVE-2020-1947 1 2020-05-29
GitHub PoC shadowsock5/ShardingSphere_CVE-2020-1947 1 2020-03-13

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by The affected package being open source on Maven, so the fix can be read
Finding This CVE affects an open-source Java library published on Maven Central (Maven packages: org.apache.shardingsphere:shardingsphere), so it is squarely in ARMR's territory and the source needed to understand the defect is public. That makes it a candidate for an ARMR patch rule. No rule exists and none is scheduled: the diff between the affected and fixed versions has not been read, and a closer look may find no hook point ARMR can act on.

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 7.5 none AV:N/AC:L/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.shardingsphere:shardingsphere 4.0.0-RC3 4.0.1 unbounded

Products and versions

2 products, 3 version entries
SourceVendorProductSchemeAffected versions
nvd apache shardingsphere generic 4.0.0 · 4.0.0:rc3
osv org.apache.shardingsphere shardingsphere generic ≥ 4.0.0 and < 4.0.1

References

URLTags
https://lists.apache.org/thread.html/r4a61a24c119bd820da6fb02100d286f8aae55c8f9b94a346b9bb27d8%40%3Cdev.shardingsphere.apache.org%3E WEB

Timeline

Published2020-03-11By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.