Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS03ZnhqLWZyM3Ytcjlnas4AAvtj
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."
Permalink: https://github.com/advisories/GHSA-7fxj-fr3v-r9gjJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03ZnhqLWZyM3Ytcjlnas4AAvtj
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: 11 months ago
Updated: 8 months ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-7fxj-fr3v-r9gj, CVE-2022-3023
References:
- https://nvd.nist.gov/vuln/detail/CVE-2022-3023
- https://github.com/pingcap/tidb/commit/d0376379d615cc8f263a0b17c031ce403c8dcbfb
- https://huntr.dev/bounties/120f1346-e958-49d0-b66c-0f889a469540
- https://advisory.dw1.io/45
- https://github.com/advisories/GHSA-7fxj-fr3v-r9gj
Affected Packages
go:github.com/pingcap/tidb
Versions: >= 6.2.0, <= 6.4.0-alpha1, <= 6.1.2No known fixed version