{"id":"CVE-2022-45347","aliases":["CVE-2022-45347","GHSA-wmxm-6wxc-3xqf"],"related":[],"kind":"vulnerability","state":"published","title":"Apache ShardingSphere-Proxy: MySQL authentication bypass","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Apache ShardingSphere-Proxy anterior a 5.3.0 cuando usaba MySQL como backend de base de datos no limpiaba completamente la sesión de la base de datos después de que fallaba la autenticación del cliente, lo que permitía a un atacante ejecutar comandos normales mediante la construcción de un cliente MySQL especial. Esta vulnerabilidad se ha solucionado en Apache ShardingSphere 5.3.0.","source":"nvd"}],"published":"2022-12-22T10:47:44.716Z","modified":"2026-06-17T05:09:49.867Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-459"],"affected":[{"ranges":[{"type":"maven","introduced":"0","fixed":"5.3.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache ShardingSphere-Proxy","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.3.0"}],"ecosystem":"Maven","package":"org.apache.shardingsphere:shardingsphere-proxy","purl":"pkg:maven/org.apache.shardingsphere/shardingsphere-proxy","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.3.0"}],"vendor":"apache","product":"shardingsphere","cpe":"cpe:2.3:a:apache:shardingsphere:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/l5rz7j4rg10o7ywtgknh2f5hxnv6yw3l","tags":["mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45347","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pjfanning/shardingsphere","tags":["package"],"sources":["ghsa"]}],"credits":["smoking"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-04-15T13:39:53.842Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-45347","url":"https://www.cve.org/CVERecord?id=CVE-2022-45347","licence":"CVE Terms of Use","modified":"2025-04-15T13:41:08.826Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wmxm-6wxc-3xqf","url":"https://github.com/advisories/GHSA-wmxm-6wxc-3xqf","licence":"CC-BY-4.0","modified":"2023-11-08T04:10:51.367Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-45347","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45347","licence":"Public domain","modified":"2026-06-17T05:09:49.867Z"}],"updatedAt":"2026-11-25T22:58:17.751Z","epss":{"score":0.0154,"percentile":0.75656,"date":"2026-12-01T12:00:22.000Z"}}