Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.shardingsphere/shardingsphere
  4. ›
  5. CVE-2022-45347

CVE-2022-45347: Incomplete Cleanup

December 22, 2022 (updated December 29, 2022)

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.

References

  • lists.apache.org/thread/l5rz7j4rg10o7ywtgknh2f5hxnv6yw3l
  • nvd.nist.gov/vuln/detail/CVE-2022-45347

Code Behaviors & Features

Detect and mitigate CVE-2022-45347 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 5.3.0

Fixed versions

  • 5.3.0

Solution

Upgrade to version 5.3.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-459: Incomplete Cleanup

Source file

maven/org.apache.shardingsphere/shardingsphere/CVE-2022-45347.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:26 +0000.