{"id":"CVE-2022-45347","summary":"Apache ShardingSphere-Proxy: MySQL authentication bypass","details":"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.","aliases":["GHSA-wmxm-6wxc-3xqf"],"modified":"2026-08-12T03:51:24.482675914Z","published":"2022-12-22T10:47:44.716Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45347.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"fixed":"5.3.0"}]}],"cna_assigner":"apache","cwe_ids":["CWE-459"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45347.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/l5rz7j4rg10o7ywtgknh2f5hxnv6yw3l"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45347"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/shardingsphere","events":[{"introduced":"0"},{"fixed":"91e191aa00334e0106aa9bd665f593d7b2ae70cb"}],"database_specific":{"cpe":"cpe:2.3:a:apache:shardingsphere:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"5.3.0"}],"source":"CPE_RANGE"}}],"versions":["3.1.0","3.1.0.M1","3.0.0","3.0.0.M4","3.0.0.M3","3.0.0.M1","2.0.3","2.0.2","2.0.1","2.0.0","2.0.0.M2","1.5.4.1","1.5.4","1.5.3","1.5.2","1.5.1","1.5.0.M3","1.5.0","1.5.0.M2","1.5.0.M1","1.4.0","1.3.3","1.3.2","1.3.1","1.3.0","1.2.1","1.2.0","1.1.0","1.0.1","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-45347.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}