SCA: security update for github.com/pingcap/tidb (GHSA-4whx-7p29-mq22)

high Tenable Cloud Security Plugin ID 410447

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2022-31011)

See Also

https://github.com/advisories/GHSA-4whx-7p29-mq22

Plugin Details

Severity: High

ID: 410447

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2022-31011

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/6/2022

Vulnerability Publication Date: 5/31/2022

Reference Information

CVE: CVE-2022-31011

cwe: CWE-287