NetSight
critical9.8

CVE-2022-3023

TiDB vulnerable to Use of Externally-Controlled Format String

Impact

TiDB server (importer CLI tool) prior to version 6.4.0 & 6.1.3 is vulnerable to data source name injection. The database name for generating and inserting data into a database does not properly sanitize user input which can lead to arbitrary file reads."

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/pingcap/tidb<= 6.1.2none recorded

Affected products

VendorProductAffected versions
PingcapTidb
before 6.4.0
from 6.1.0 before 6.1.3

Weakness classification

References