Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2022-31011
May 31, 2022
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 Packages
github.com/pingcap/tidb (GO):
Affected version(s) >=v5.3.0 <v5.3.1
Fix Suggestion:
Update to version v5.3.1
github.com/pingcap/tidb (GO):
Affected version(s) >=v0.0.0-20210808221113-a7fdc2a05663 <v0.0.0-20220221072141-27ffd1126da1
Fix Suggestion:
Update to version v0.0.0-20220221072141-27ffd1126da1
github.com/pingcap/tidb (GO):
Affected version(s) >=v1.1.0-beta.0.20210808221113-a7fdc2a05663 <v1.1.0-beta.0.20220221072141-27ffd1126da1
Fix Suggestion:
Update to version v1.1.0-beta.0.20220221072141-27ffd1126da1
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.5
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.8
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
CVSS v2
Base Score:
4.6
Access Vector
LOCAL
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
Weakness Type (CWE)
Improper Authentication
EPSS
Base Score:
0.07