Lucene search

K
cveGitHub_MCVE-2022-21687
HistoryFeb 01, 2022 - 12:15 p.m.

CVE-2022-21687

2022-02-0112:15:08
CWE-20
GitHub_M
web.nvd.nist.gov
40
gh-ost
mysql
schema migration
vulnerability
cve-2022-21687

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:N/A:N

CVSS3

6.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

AI Score

6.4

Confidence

High

EPSS

0.001

Percentile

49.6%

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.

Affected configurations

Nvd
Node
githubgh-ostRange<1.1.3
VendorProductVersionCPE
githubgh-ost*cpe:2.3:a:github:gh-ost:*:*:*:*:*:*:*:*

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:N/A:N

CVSS3

6.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

AI Score

6.4

Confidence

High

EPSS

0.001

Percentile

49.6%

Related for CVE-2022-21687