GHSA-7FXJ-FR3V-R9GJ
Vulnerability from github – Published: 2022-11-04 19:01 – Updated: 2022-11-24 01:13
VLAI?
Summary
TiDB vulnerable to Use of Externally-Controlled Format String
Details
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."
Severity ?
9.8 (Critical)
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/pingcap/tidb"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "6.1.2"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Go",
"name": "github.com/pingcap/tidb"
},
"ranges": [
{
"events": [
{
"introduced": "6.2.0"
},
{
"last_affected": "6.4.0-alpha1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2022-3023"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": true,
"github_reviewed_at": "2022-11-04T20:48:44Z",
"nvd_published_at": "2022-11-04T12:15:00Z",
"severity": "CRITICAL"
},
"details": "TiDB server (importer CLI tool) prior to version 6.4.0 \u0026 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.\"",
"id": "GHSA-7fxj-fr3v-r9gj",
"modified": "2022-11-24T01:13:44Z",
"published": "2022-11-04T19:01:17Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-3023"
},
{
"type": "WEB",
"url": "https://github.com/pingcap/tidb/commit/d0376379d615cc8f263a0b17c031ce403c8dcbfb"
},
{
"type": "WEB",
"url": "https://advisory.dw1.io/45"
},
{
"type": "PACKAGE",
"url": "https://github.com/pingcap/tidb"
},
{
"type": "WEB",
"url": "https://huntr.dev/bounties/120f1346-e958-49d0-b66c-0f889a469540"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "TiDB vulnerable to Use of Externally-Controlled Format String"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…