PT-2022-27475 · Apache · Apache Shardingsphere-Proxy
Smoking
+1
·
Published
2022-12-22
·
Updated
2022-12-29
·
CVE-2022-45347
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Apache ShardingSphere-Proxy versions prior to 5.3.0
Description
The issue arises when Apache ShardingSphere-Proxy is used with MySQL as the database backend. In versions prior to 5.3.0, the database session is not properly cleaned up after a client authentication failure. This allows an attacker to execute normal commands by constructing a special MySQL client.
Recommendations
For versions prior to 5.3.0, update to Apache ShardingSphere 5.3.0 to resolve the issue. As a temporary workaround, consider restricting access to the MySQL database backend to minimize the risk of exploitation.
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Apache Shardingsphere-Proxy