Every CVESearch/Get API key

CVE-2022-3023

Use of Externally-Controlled Format String in pingcap/tidb

4.2 Medium

CVE-2022-3023 is a medium vulnerability (CVSS 4.2) in Pingcap Pingcap/tidb, published November 4, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.68%, the 52nd percentile. No source names a fixed version.

What does this mean?
Severity
4.2 MediumCVSS 3.0, CVE List
Exploit chance
0.68%EPSS, 52nd percentile
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
No fix listedNo source names one

Description

Use of Externally-Controlled Format String in GitHub repository pingcap/tidb prior to 6.4.0, 6.1.3.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
High
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

0.68%Down 0.2 points since Nov 5, 2022
90%50%10%1%

Affected products

Affected packages

Affected packages
PackageAffectedFixed
github.com/pingcap/tidb
Go
through 6.1.2None known
github.com/pingcap/tidb
Go
6.2.0 to 6.4.0-alpha1None known

What each source reports

CVE List Score used4.2

Use of Externally-Controlled Format String in pingcap/tidb

Use of Externally-Controlled Format String in GitHub repository pingcap/tidb prior to 6.4.0, 6.1.3.

Record
CVE-2022-3023
CVSS 3.0
4.2 MediumCVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Weakness
CWE-134
Updated
2026-11-02
EUVDEUVD-2022-72694.2

Use of Externally-Controlled Format String in GitHub repository pingcap/tidb prior to 6.4.0, 6.1.3.

Record
EUVD-2022-7269
CVSS 3.0
4.2 MediumCVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-7fxj-fr3v-r9gj9.8

TiDB vulnerable to Use of Externally-Controlled Format String

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."

Record
GHSA-7fxj-fr3v-r9gj
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-134
Updated
2026-11-02
NVD9.8

Use of Externally-Controlled Format String in GitHub repository pingcap/tidb prior to 6.4.0, 6.1.3.

Record
CVE-2022-3023
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0
4.2 MediumCVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Weakness
CWE-134
Updated
2026-11-02
OSV4.2

Use of Externally-Controlled Format String in pingcap/tidb

Use of Externally-Controlled Format String in GitHub repository pingcap/tidb prior to 6.4.0, 6.1.3.

Record
CVE-2022-3023
CVSS 3.0
4.2 MediumCVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Weakness
CWE-134
Updated
2026-11-02
OSVGHSA-7fxj-fr3v-r9gj9.8

TiDB vulnerable to Use of Externally-Controlled Format String

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."

Record
GHSA-7fxj-fr3v-r9gj
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-134
Updated
2026-11-02

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

MoveEnter Open