{"id":"GHSA-wmxm-6wxc-3xqf","summary":"Apache ShardingSphere-Proxy Incomplete Cleanup vulnerability","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":["CVE-2022-45347"],"modified":"2023-11-08T04:10:51.367365Z","published":"2022-12-22T12:30:16Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-12-22T20:02:29Z","nvd_published_at":"2022-12-22T11:15:00Z","cwe_ids":["CWE-459"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45347"},{"type":"PACKAGE","url":"https://github.com/pjfanning/shardingsphere"},{"type":"WEB","url":"https://lists.apache.org/thread/l5rz7j4rg10o7ywtgknh2f5hxnv6yw3l"}],"affected":[{"package":{"name":"org.apache.shardingsphere:shardingsphere-proxy","ecosystem":"Maven","purl":"pkg:maven/org.apache.shardingsphere/shardingsphere-proxy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.0"}]}],"versions":["5.0.0","5.1.0","5.1.1","5.1.2","5.2.0","5.2.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-wmxm-6wxc-3xqf/GHSA-wmxm-6wxc-3xqf.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"}]}