Every CVE Search/ Get API key

CVE-2022-3023

Use of Externally-Controlled Format String in pingcap/tidb

4.2 Medium

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%

What each source reports

CVE List Score used 4.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-7269 4.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-r9gj 9.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
NVD 9.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
OSV 4.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-r9gj 9.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

Affected products

Affected packages

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

History

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

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

In short

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.

References

MoveEnter Open