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: about 2 years ago
Updated: almost 2 years 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
Blast Radius: 26.5
Affected Packages
go:github.com/pingcap/tidb
Dependent packages: 364Dependent repositories: 501
Downloads:
Affected Version Ranges: >= 6.2.0, <= 6.4.0-alpha1, <= 6.1.2
No known fixed version
All affected versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10, 2.0.11