Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2020-1947: In Apache ShardingSphere(incubator) 4.0.0-RC3 and 4.0.0, the ShardingSphere's web console uses the SnakeYAML l

74
This week
CRITICAL 9.8REMOTEWATCHLISTDOWNGRADE

CVE-2020-1947 is a critical-severity flaw (CVSS 9.8) affecting shardingsphere. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • EPSS top 2%: very likely to be exploited
  • Public exploit reference
  • Remotely exploitable, no login, no user action
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance33.9% (top 2%)
CISA exploited listNo
WeaknessCWE-502
Published2020-03-11
Last modified2026-06-17
Publisher (CNA): Apache Software Foundation · Vendor: apache

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

apache shardingsphere DOWNGRADE
Affected: 4.0.0 · 4.0.0 rc3
Fixed in: no fixed release known
Safe to downgrade to: a release before 4.0.0
1. Check installed version
apt-cache policy shardingsphere || rpm -q shardingsphere || shardingsphere --version
2. No fixed release: DOWNGRADE to a release before 4.0.0 (Debian / Ubuntu)
apt-cache madison shardingsphere sudo apt install shardingsphere=<VERSION_BEFORE_4.0.0> sudo apt-mark hold shardingsphere
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list shardingsphere sudo dnf downgrade shardingsphere-<VERSION_BEFORE_4.0.0> sudo dnf versionlock add shardingsphere
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Maven · org.apache.shardingsphere:shardingsphere · FIXED · 4.0.1 · vulnerable: >= 4.0.0-RC3, <= 4.0.0 · source
Set org.apache.shardingsphere:shardingsphere to 4.0.1 or later in pom.xml or build.gradle, then rebuild and redeploy.
Fedora 46 · lis · FIXED · 2.1.21-2.fc46 · FEDORA-2026-039245acc6 · source
sudo dnf upgrade --advisory=FEDORA-2026-039245acc6
Fedora ELN · bitcoin-core · FIXED · 32.1-2.eln159 · FEDORA-2026-41e13beebe · source
sudo dnf upgrade --advisory=FEDORA-2026-41e13beebe

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2020-1947?

shardingsphere: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2020-1947 being exploited?

CVE-2020-1947 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2020-1947 affect?

CVE-2020-1947 affects shardingsphere. Severity is critical (CVSS 9.8). 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 YA

How urgent is CVE-2020-1947?

Priority 74/100. Critical severity; EPSS top 2%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist

Software pages

Java vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.