CVE-2022-45347

Source
https://cve.org/CVERecord?id=CVE-2022-45347
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-45347.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-45347
Aliases
Published
2022-12-22T10:47:44.716Z
Modified
2026-07-08T06:03:24.171753160Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Apache ShardingSphere-Proxy: MySQL authentication bypass
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "fixed": "5.3.0"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45347.json",
    "cwe_ids": [
        "CWE-459"
    ],
    "cna_assigner": "apache"
}
References

Affected packages

Git / github.com/apache/shardingsphere

Affected ranges

Type
GIT
Repo
https://github.com/apache/shardingsphere
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:apache:shardingsphere:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "5.3.0"
        }
    ]
}

Affected versions

1.*
1.0.0
1.0.1
1.1.0
1.2.0
1.2.1
1.3.0
1.3.1
1.3.2
1.3.3
1.4.0
1.5.0
1.5.0.M1
1.5.0.M2
1.5.0.M3
1.5.1
1.5.2
1.5.3
1.5.4
1.5.4.1
2.*
2.0.0
2.0.0.M2
2.0.1
2.0.2
2.0.3
3.*
3.0.0
3.0.0.M1
3.0.0.M3
3.0.0.M4
3.1.0
3.1.0.M1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-45347.json"