CVE-2022-21687
CVSS V2 Medium 4.3
CVSS V3 Medium 6.5
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.
Overview
- CVE ID
- CVE-2022-21687
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-02-01T12:15:08
- Last Modified Date
- 2022-02-04T17:09:05
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:github:gh-ost:*:*:*:*:*:*:*:* | 1 | OR | 1.1.3 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:N/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 6.5
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
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 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-21687 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21687 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:34:16 | Added to TrackCVE | |||
2022-12-06 08:15:04 | 2022-02-01T12:15Z | 2022-02-01T12:15:08 | CVE Published Date | updated |
2022-12-06 08:15:04 | 2022-02-04T17:09:05 | CVE Modified Date | updated | |
2022-12-06 08:15:04 | Analyzed | Vulnerability Status | updated |