What’s Vulnerable › Vulnerabilities
CVE-2022-45347: Apache ShardingSphere-Proxy: MySQL authentication bypass
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-12-22 · updated 2026-06-17
- Weakness: CWE-459
Description
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.
Affected products
- Apache Software Foundation Apache ShardingSphere-Proxy: before 5.3.0 — fixed in 5.3.0
How to fix
Upgrade to a fixed version: Apache Software Foundation Apache ShardingSphere-Proxy 5.3.0. Check the vendor advisory for mitigations.
References
- https://lists.apache.org/thread/l5rz7j4rg10o7ywtgknh2f5hxnv6yw3l
- https://lists.apache.org/thread/l5rz7j4rg10o7ywtgknh2f5hxnv6yw3l
Get alerted when CVE-2022-45347 or the next vulnerability affects your stack