CVE-2022-21687

Command injection in gh-ost

Medium · published February 1, 2022

CVSS v3.1
6.8
EPSS
1%
Percentile
62.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.01003 · 62.6th percentile
Published
2022-02-01T11:56Z
EPSS history
Timeline
  • 01 FEB 11:56Z
    Command injection in gh-ost
    cvelistv5