cvedb.io
CVE-2022-21687
MEDIUM · CVSS 6.8
EPSS exploitation probability: 0%
Published 2022-02-01T12:15:08.200 · Last modified 2026-06-17T04:26:45.853

Summary

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 products

github — gh-ost

Does this affect you?

Add your gear to cvedb and we'll alert you only when github ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.