CVE-2024-39677Nhibernate-core
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Nhibernate · Nhibernate-core Te avisamos por email o Slack (requiere cuenta).
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Nhibernate-core.
- 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 |
|---|---|---|---|---|
| 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)
| Fabricante | Producto | Versiones |
|---|---|---|
| nhibernate | nhibernate-core | < 5.4.9 |
| nhibernate | nhibernate-core | ≥ 5.5.0 < 5.5.2 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Issue Tracking
- github.com Issue Tracking
- github.com Issue Tracking Patch
- github.com Vendor Advisory