CVE-2020-5257Thoughtbot Administrate
Alta 8.1
Seguir: esta CVE · Thoughtbot · Thoughtbot Administrate Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 49
- CVSS 3.1
- 8.1
- EPSS
- 0.9% probabilidad de explotación en 30 días · percentil 61
- Requiere autenticación
- Sí
- Publicada
- 13 mar 2020
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Qué pasa
In Administrate (rubygem) before version 0.13.0, when sorting by attributes on a dashboard, the direction parameter was not validated before being interpolated into the SQL query. This could present a SQL injection if the attacker were able to modify the `direction` parameter and bypass ActiveRecord SQL protections. Whilst this does have a high-impact, to exploit this you need access to the Administrate dashboards, which we would expect to be behind authentication. This is patched in wersion 0.13.0.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Administrate.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| RubyGems | administrate |
< 0.13.0 |
0.13.0 |
gem "administrate", ">= 0.13.0" |
Según OSV / GitHub Advisories (GHSA-2p5p-m353-833w). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| thoughtbot | administrate | < 0.13.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory