Vulnerability · Published Dec 22, 2022 · Assigned by apache

CVE-2022-45347Apache ShardingSphere-Proxy: MySQL authentication bypass

Critical 9.8

In plain English

A critical-severity security flaw in Apache ShardingSphere-Proxy from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.5%top 26.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.apache.shardingsphere:shardingsphere-proxy5.3.0GHSA-wmxm-6wxc-3xqf

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache ShardingSphere-Proxy 0 – before 5.3.0

Weakness: CWE-459 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References