TiDB authentication bypass vulnerability
pingcap tidb
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/pingcap/tidb Go |
|
|
pingcap tidb
| Product | Affected | Fixed in |
|---|---|---|
| github.com/pingcap/tidb Go |
|
|
TiDB is an open-source NewSQL database that supports Hybrid Transactional and Analytical Processing (HTAP) workloads. Under certain conditions, an attacker can construct malicious authentication requests to bypass the authentication process, resulting in privilege escalation or unauthorized access. Only users using TiDB 5.3.0 are affected by this vulnerability. TiDB version 5.3.1 contains a patch for this issue. Other mitigation strategies include turning off Security Enhanced Mode (SEM), disabling local login for non-root accounts, and ensuring that the same IP cannot be logged in as root and normal user at the same time.
From the CVE record · GitHub_M
Under certain conditions, malicious authentication requests can bypass TiDB authentication, allowing privilege escalation or unauthorized access. The description identifies TiDB 5.3.0 as affected; it does not specify whether access must be local or whether user interaction is required.
Check deployments of TiDB 5.3.0 and users of github.com/pingcap/tidb in the listed affected Go package ranges.