CVE-2022-21687
MySQL gh-ost Arbitrary File Read Vulnerability
Description
gh-ost is a triggerless online schema migration solution for MySQL. Versions prior to 1.1.3 are subject to an arbitrary file read vulnerability. The attacker must have access to the target host or trick an administrator into executing a malicious gh-ost command on a host running gh-ost, plus network access from host running gh-ost to the attack's malicious MySQL server. The `-database` parameter does not properly sanitize user input which can lead to arbitrary file reads.
INFO
Published Date :
Feb. 1, 2022, 12:15 p.m.
Last Modified :
Nov. 21, 2024, 6:45 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
4.0
Exploitability Score :
2.3
Public PoC/Exploit Available at Github
CVE-2022-21687 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-21687
.
URL | Resource |
---|---|
https://github.com/github/gh-ost/commit/a91ab042de013cfd8fbb633763438932d9080d8f | Patch Third Party Advisory |
https://github.com/github/gh-ost/security/advisories/GHSA-rrp4-2xx3-mv29 | Third Party Advisory |
https://github.com/github/gh-ost/commit/a91ab042de013cfd8fbb633763438932d9080d8f | Patch Third Party Advisory |
https://github.com/github/gh-ost/security/advisories/GHSA-rrp4-2xx3-mv29 | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
test 反向辣鸡数据投放 CVE-2022-23305 工具 利用 教程 Exploit POC
cve-2020-
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-21687
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-21687
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/github/gh-ost/commit/a91ab042de013cfd8fbb633763438932d9080d8f Added Reference https://github.com/github/gh-ost/security/advisories/GHSA-rrp4-2xx3-mv29 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Feb. 04, 2022
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N Changed Reference Type https://github.com/github/gh-ost/commit/a91ab042de013cfd8fbb633763438932d9080d8f No Types Assigned https://github.com/github/gh-ost/commit/a91ab042de013cfd8fbb633763438932d9080d8f Patch, Third Party Advisory Changed Reference Type https://github.com/github/gh-ost/security/advisories/GHSA-rrp4-2xx3-mv29 No Types Assigned https://github.com/github/gh-ost/security/advisories/GHSA-rrp4-2xx3-mv29 Third Party Advisory Added CWE NIST CWE-20 Added CPE Configuration OR *cpe:2.3:a:github:gh-ost:*:*:*:*:*:*:*:* versions up to (excluding) 1.1.3 -
CVE Modified by [email protected]
Feb. 01, 2022
Action Type Old Value New Value Removed CWE GitHub, Inc. CWE-74
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-21687
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-21687
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.13 }} -0.01%
score
0.48097
percentile