{"id":"EUVD-2022-1182","enisaUuid":"8edfee62-7224-3b61-947f-4d9369c59337","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\u0027s malicious MySQL server. The `-database` parameter does not properly sanitize user input which can lead to arbitrary file reads.","datePublished":"Feb 1, 2022, 11:56:17 AM","dateUpdated":"May 5, 2025, 4:34:00 PM","baseScore":6.8,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","references":"https://github.com/github/gh-ost/security/advisories/GHSA-rrp4-2xx3-mv29\nhttps://github.com/github/gh-ost/commit/a91ab042de013cfd8fbb633763438932d9080d8f\n","aliases":"CVE-2022-21687\nGHSA-rrp4-2xx3-mv29\n","assigner":"GitHub_M","epss":1.0,"enisaIdProduct":[{"id":"cd515b0a-30ca-3800-8f85-e94bc71e7401","product":{"name":"n/a","vendor":{"name":"n/a"}},"product_version":"n/a"}],"enisaIdVendor":[{"id":"18629bb4-265e-35c8-bc88-5f227e740b2d","vendor":{"name":"n/a"}}],"enisaIdVulnerability":[{"id":"2d2603e2-35cf-366c-b867-56e269a84bed","vulnerability":{"id":"CVE-2022-21687","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\u0027s malicious MySQL server. The `-database` parameter does not properly sanitize user input which can lead to arbitrary file reads.","datePublished":"Feb 1, 2022, 11:56:17 AM","dateUpdated":"May 5, 2025, 4:34:00 PM","status":"PUBLISHED","baseScore":6.8,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","references":"https://github.com/github/gh-ost/security/advisories/GHSA-rrp4-2xx3-mv29\nhttps://github.com/github/gh-ost/commit/a91ab042de013cfd8fbb633763438932d9080d8f\n","enisa_id":"EUVD-2022-1182\n","assigner":"GitHub_M","epss":1.0,"dataProcessed":"Nov 16, 2026, 7:17:25 AM","vulnerabilityProduct":[{"id":"57031b85-71f9-3f56-a8f1-57a9afadaebd","product":{"name":"n/a","vendor":{"name":"n/a"}},"product_version":"n/a"}],"vulnerabilityVendor":[{"id":"04dd7e22-66ec-3983-a36d-1e2466d3bccb","vendor":{"name":"n/a"}}]}},{"id":"9a02d5f2-841c-34a8-9d49-9d3d7b065fa9","vulnerability":{"id":"GHSA-rrp4-2xx3-mv29","description":"Command injection in gh-ost","datePublished":"Feb 1, 2022, 12:47:33 AM","dateUpdated":"Feb 7, 2022, 9:07:25 PM","baseScore":null,"references":"https://github.com/github/gh-ost/security/advisories/GHSA-rrp4-2xx3-mv29\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-21687\nhttps://github.com/github/gh-ost/commit/a91ab042de013cfd8fbb633763438932d9080d8f\nhttps://github.com/github/gh-ost\n","enisa_id":"EUVD-2022-1182\n","aliases":"GHSA-rrp4-2xx3-mv29\nCVE-2022-21687\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:06:27 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}