Amenazas en vivo

Todas las CVE / Litedb

CVE-2022-23535Litedb

Crítica 9.8 Sin autenticación

Prioridad
74
CVSS 3.1
9.8
EPSS
0.9%
probabilidad de explotación en 30 días · percentil 59
Requiere autenticación
No
Publicada
24 feb 2023
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-502
SSVC (CISA)
Explotación: ninguna · Automatizable: sí · 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

LiteDB is a small, fast and lightweight .NET NoSQL embedded database. Versions prior to 5.0.13 are subject to Deserialization of Untrusted Data. LiteDB uses a special field in JSON documents to cast different types from `BsonDocument` to POCO classes. When instances of an object are not the same of class, `BsonMapper` use a special field `_type` string info with full class name with assembly to be loaded and fit into your model. If your end-user can send to your app a plain JSON string, deserialization can load an unsafe object to fit into your model. This issue is patched in version 5.0.13 with some basic fixes to avoid this, but is not 100% guaranteed when using `Object` type. The next major version will contain an allow-list to select what kind of Assembly can be loaded. Workarounds are detailed in the vendor advisory.

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 Litedb.
  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 LiteDB < 5.0.13 5.0.13 dotnet add package LiteDB --version 5.0.13

Según OSV / GitHub Advisories (GHSA-3x49-g6rc-c284). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
litedblitedb< 5.0.13

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.