CVE-2022-31011CWE-287

TiDB authentication bypass vulnerability

High · published May 31, 2022

CVSS v3.1
7.8
EPSS
0%
Percentile
24.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00323 · 24.1th percentile
Weakness
CWE-287 · Improper Authentication
Published
2022-05-31T19:30Z
EPSS history
Timeline
  • 31 MAY 19:30Z
    TiDB authentication bypass vulnerability
    cvelistv5