{"id":"CVE-2022-45347","published":"2022-12-22T10:47:44Z","modified":"2025-04-15T13:41:08Z","title":"Apache ShardingSphere-Proxy: MySQL authentication bypass","vendor":"Apache","product":"Apache ShardingSphere-Proxy","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01479,"percentile":0.74537,"provenance":"source"},"cwes":[{"id":"CWE-459","name":"Incomplete Cleanup"}],"references":[{"url":"https://lists.apache.org/thread/l5rz7j4rg10o7ywtgknh2f5hxnv6yw3l","tags":["vendor-advisory"]}],"priority":{"score":21.8,"factors":[{"name":"EPSS percentile","points":14.91},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache ShardingSphere-Proxy","versions":["< 5.3.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-15T13:39:53.842209Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.shardingsphere:shardingsphere-proxy","vulnerableRanges":["<5.3.0"],"patched":["5.3.0"],"from":["GHSA-wmxm-6wxc-3xqf"],"provenance":"source"}],"summary":{"text":"Apache ShardingSphere-Proxy, when used with a MySQL database backend, fails to fully clean up the database session after a client authentication failure. Remote network access is sufficient for an attacker who crafts a special MySQL client to execute normal commands despite the failed authentication, with no privileges, user interaction, or specific configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:46:58Z"},"euvd":{"id":"EUVD-2022-7763","exploited":false,"provenance":"source"}}