CVE-2022-21687Github Gh-ost
Media 6.5 Sin autenticación
Seguir: esta CVE · Github · Github Gh-ost Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 54
- CVSS 3.1
- 6.5
- EPSS
- 1.1% probabilidad de explotación en 30 días · percentil 65
- Requiere autenticación
- No
- Publicada
- 1 feb 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-20
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Gh-ost.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | github.com/github/gh-ost |
< 1.1.3 |
1.1.3 |
go get github.com/github/gh-ost@v1.1.3 |
| Go | github.com/github/gh-ost |
< 1.1.3 |
1.1.3 |
go get github.com/github/gh-ost@v1.1.3 |
Según OSV / GitHub Advisories (GHSA-rrp4-2xx3-mv29, GO-2022-0298). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| github | gh-ost | < 1.1.3 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory