{"cve":"CVE-2022-45347","nvd":{"published":"2022-12-22T11:15:09.053","modified":"2026-06-17T05:09:49.867","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-459"],"references":["https://lists.apache.org/thread/l5rz7j4rg10o7ywtgknh2f5hxnv6yw3l","https://lists.apache.org/thread/l5rz7j4rg10o7ywtgknh2f5hxnv6yw3l"],"products":["apache:shardingsphere"],"source":"nvd","synced_at":"2026-10-19T21:37:31.370122805+00:00"},"epss":{"cve":"CVE-2022-45347","score":0.01479,"percentile":0.73906,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-wmxm-6wxc-3xqf","url":"https://osv.dev/vulnerability/GHSA-wmxm-6wxc-3xqf","summary":"Apache ShardingSphere-Proxy Incomplete Cleanup vulnerability","modified":"2023-11-08T04:10:51.367365Z","packages":[{"ecosystem":"Maven","name":"org.apache.shardingsphere:shardingsphere-proxy","purl":"pkg:maven/org.apache.shardingsphere/shardingsphere-proxy","ranges":["<5.3.0"],"fixed":["5.3.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}