CVEvulnerability
CVE-2022-31011
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-05-31
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 4.6 MEDIUM — AV:L/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-287
Description
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.
Affected configurations
• pingcap tidb 5.3.0
Related
Weakness · CWE (1)
- CWE-287 Improper Authentication weakness
References
- https://github.com/pingcap/tidb/releases/tag/v5.3.1 Release Notes, Third Party Advisory
- https://github.com/pingcap/tidb/security/advisories/GHSA-4whx-7p29-mq22 Mitigation, Third Party Advisory
- https://github.com/pingcap/tidb/releases/tag/v5.3.1 Release Notes, Third Party Advisory
- https://github.com/pingcap/tidb/security/advisories/GHSA-4whx-7p29-mq22 Mitigation, Third Party Advisory