# CVE-2022-3023: Use of Externally-Controlled Format String in pingcap/tidb

- Severity: Medium 4.2 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-01)
- Published: 2022-11-04T00:00:00.000Z
- Modified: 2026-09-10T03:49:46.994Z
- Also known as: GHSA-7fxj-fr3v-r9gj
- Weaknesses: CWE-134
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntrdev

## Description

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

(As written by CVE List.)

## Affected

- pingcap pingcap/tidb: from unspecified before 6.4.0, 6.1.3
- github.com/pingcap/tidb (Go): up to 6.1.2; from 6.2.0 up to 6.4.0-alpha1
- pingcap tidb: before 6.4.0; from 6.1.0 before 6.1.3

## Every score

- @huntrdev: CVSS:3.0 4.2 Medium `CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.dev/bounties/120f1346-e958-49d0-b66c-0f889a469540> (permissions-required, third-party-advisory, web)
- <https://github.com/pingcap/tidb/commit/d0376379d615cc8f263a0b17c031ce403c8dcbfb> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-3023> (advisory)
- <https://advisory.dw1.io/45> (web)
- <https://github.com/pingcap/tidb> (package)

## Sources

- CVE List: [CVE-2022-3023](https://www.cve.org/CVERecord?id=CVE-2022-3023), CVE Terms of Use, modified 2025-05-02
- GitHub Advisory Database: [GHSA-7fxj-fr3v-r9gj](https://github.com/advisories/GHSA-7fxj-fr3v-r9gj), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-3023](https://nvd.nist.gov/vuln/detail/CVE-2022-3023), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-3023 · Whole record: https://cve.day/CVE-2022-3023.json · Rebuilt by cve.day 2026-11-25T22:58:16.217Z
