What’s Vulnerable › Vulnerabilities

CVE-2022-45347: Apache ShardingSphere-Proxy: MySQL authentication bypass

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

How to fix

Upgrade to a fixed version: Apache Software Foundation Apache ShardingSphere-Proxy 5.3.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-45347 or the next vulnerability affects your stack