PT-2022-20457 · Tidb · Tidb

Haohaoxuex2005

·

Published

2022-05-31

·

Updated

2022-06-10

·

CVE-2022-31011

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions TiDB version 5.3.0
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.
Recommendations For TiDB version 5.3.0, upgrade to TiDB 5.3.1 or higher version to resolve the issue. As a temporary workaround, consider turning off Security Enhanced Mode (SEM) until a patch is applied. Additionally, disable local login for non-root accounts and ensure that the same IP cannot be logged in as root and normal user at the same time to minimize the risk of exploitation.

Exploit

Fix

Improper Authentication

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-31011
GHSA-4WHX-7P29-MQ22

Affected Products

Tidb