{"id":"CVE-2022-45347","state":"PUBLISHED","title":"Apache ShardingSphere-Proxy: MySQL authentication bypass","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.","publishedAt":"2022-12-22T10:47:44.716Z","updatedAt":"2025-04-15T13:41:08.826Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache ShardingSphere-Proxy"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache ShardingSphere-Proxy","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5.3.0","versionType":"maven"}]}],"references":["https://lists.apache.org/thread/l5rz7j4rg10o7ywtgknh2f5hxnv6yw3l"],"weaknesses":["CWE-459"],"ingestedAt":"2026-10-29T19:50:51.061Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/45xxx/CVE-2022-45347.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-45347","state":"PUBLISHED","datePublished":"2022-12-22T10:47:44.716Z","dateUpdated":"2025-04-15T13:41:08.826Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2022-11-14T09:49:34.883Z"},"containers":{"cna":{"title":"Apache ShardingSphere-Proxy: MySQL authentication bypass","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache ShardingSphere-Proxy","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5.3.0","versionType":"maven"}]}],"references":[{"url":"https://lists.apache.org/thread/l5rz7j4rg10o7ywtgknh2f5hxnv6yw3l","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"text":"moderate"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-459","description":"CWE-459 Incomplete Cleanup","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2022-12-22T10:47:44.716Z"},"credits":[{"lang":"en","type":"finder","value":"smoking"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread/l5rz7j4rg10o7ywtgknh2f5hxnv6yw3l","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T14:09:56.652Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-04-15T13:39:53.842209Z","id":"CVE-2022-45347","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-15T13:41:08.826Z"}}]}}}