VULNERABILITY INTELLIGENCE

CVE-2022-21687

CVSS score6.8 MEDIUM
EPSS probability1.00%
CISA KEVNot currently listed
Published2022-02-01
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

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.

Weakness classification

  • nvd@nist.gov: CWE-20
  • 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-20

Primary references