Amenazas en vivo

Todas las CVE / Github

CVE-2022-24722Github Viewcomponent

Media 6.1 Sin autenticación

Prioridad
52
CVSS 3.1
6.1
EPSS
1.1%
probabilidad de explotación en 30 días · percentil 64
Requiere autenticación
No
Publicada
2 mar 2022
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-79
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Qué pasa

VIewComponent is a framework for building view components in Ruby on Rails. Versions prior to 2.31.2 and 2.49.1 contain a cross-site scripting vulnerability that has the potential to impact anyone using translations with the view_component gem. Data received via user input and passed as an interpolation argument to the `translate` method is not properly sanitized before display. Versions 2.31.2 and 2.49.1 have been released and fully mitigate the vulnerability. As a workaround, avoid passing user input to the `translate` function, or sanitize the inputs before passing them.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Viewcomponent.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
RubyGems view_component ≥ 2.31.0 < 2.31.2 2.31.2 gem "view_component", ">= 2.31.2"
RubyGems view_component ≥ 2.32.0 < 2.49.1 2.49.1 gem "view_component", ">= 2.49.1"

Según OSV / GitHub Advisories (GHSA-cm9w-c4rj-r2cf). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
githubviewcomponent≥ 2.31.0 < 2.31.2
githubviewcomponent≥ 2.32.0 < 2.49.1

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.