GitHub Advisory Database
GHSA-7fxj-fr3v-r9gj
TiDB vulnerable to Use of Externally-Controlled Format String
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/pingcap/tidb | All versions up to and including 6.1.2 |
| Go | github.com/pingcap/tidb | From 6.2.0 up to and including 6.4.0-alpha1 |