ADVISORIES

GitHub Advisory Database

GHSA-7fxj-fr3v-r9gj

TiDB vulnerable to Use of Externally-Controlled Format String

Critical No fix available CVE-2022-3023

Details

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

EcosystemPackageAffected versions
Gogithub.com/pingcap/tidb
All versions up to and including 6.1.2
Gogithub.com/pingcap/tidb
From 6.2.0 up to and including 6.4.0-alpha1

References