Live threats

All CVEs / Apache

CVE-2022-45347Apache Shardingsphere

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.3%
probability of exploitation in 30 days · percentile 70
Auth required
No
Published
Dec 22, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-459
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Apache ShardingSphere-Proxy prior to 5.3.0 when using MySQL as database backend didn't cleanup the database session completely after client authentication failed, which allowed an attacker to execute normal commands by constructing a special MySQL client. This vulnerability has been fixed in Apache ShardingSphere 5.3.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Shardingsphere.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.shardingsphere:shardingsphere-proxy < 5.3.0 5.3.0 —

Per OSV / GitHub Advisories (GHSA-wmxm-6wxc-3xqf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apacheshardingsphere< 5.3.0

Official sources

References

Links published by the sources. Open them with care.