Amenazas en vivo

Todas las CVE / Nhibernate

CVE-2024-39677Nhibernate-core

Crítica 9.8 Sin autenticación

Prioridad
74
CVSS 3.1
9.8
EPSS
1.0%
probabilidad de explotación en 30 días · percentil 60
Requiere autenticación
No
Publicada
8 jul 2024
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

NHibernate is an object-relational mapper for the .NET framework. A SQL injection vulnerability exists in some types implementing ILiteralType.ObjectToSQLString. Callers of these methods are exposed to the vulnerability, which includes mappings using inheritance with discriminator values; HQL queries referencing a static field of the application; users of the SqlInsertBuilder and SqlUpdateBuilder utilities, calling their AddColumn overload taking a literal value; and any direct use of the ObjectToSQLString methods for building SQL queries on the user side. This vulnerability is fixed in 5.4.9 and 5.5.2.

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 Nhibernate-core.
  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
NuGet NHibernate < 5.4.9 5.4.9 dotnet add package NHibernate --version 5.4.9
NuGet NHibernate ≥ 5.5.0 < 5.5.2 5.5.2 dotnet add package NHibernate --version 5.5.2

Según OSV / GitHub Advisories (GHSA-fg4q-ccq8-3r5q). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
nhibernatenhibernate-core< 5.4.9
nhibernatenhibernate-core≥ 5.5.0 < 5.5.2

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.