Incomplete Cleanup of Database Session in Apache ShardingSphere-Proxy Prior to 5.3.0

Incomplete Cleanup of Database Session in Apache ShardingSphere-Proxy Prior to 5.3.0

CVE-2022-45347 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Cis Benchmark Audit For Microsoft Sql Server.