Todas las CVE / Update By Case Project
CVE-2022-35956Update By Case Project Update By Case
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Update By Case Project · Update By Case Project Update By Case Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- 0.7% probabilidad de explotación en 30 días · percentil 47
- Requiere autenticación
- No
- Publicada
- 12 ago 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-89
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
This Rails gem adds two methods to the ActiveRecord::Base class that allow you to update many records on a single database hit, using a case sql statement for it. Before version 0.1.3 `update_by_case` gem used custom sql strings, and it was not sanitized, making it vulnerable to sql injection. Upgrade to version >= 0.1.3 that uses `Arel` instead to construct the resulting sql statement, with sanitized sql.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Update By Case.
- 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 |
|---|---|---|---|---|
| RubyGems | update_by_case |
< 0.1.3 |
0.1.3 |
gem "update_by_case", ">= 0.1.3" |
Según OSV / GitHub Advisories (GHSA-33wh-w4m7-c6r8). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| update_by_case_project | update_by_case | < 0.1.3 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Release Notes Third Party Advisory
- github.com Third Party Advisory