SB2023022441 - Deserialization of Untrusted Data in LiteDB



SB2023022441 - Deserialization of Untrusted Data in LiteDB

Published: February 24, 2023 Updated: July 28, 2026

Security Bulletin ID SB2023022441
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Deserialization of Untrusted Data (CVE-ID: CVE-2022-23535)

CWE-ID: CWE-502 - Deserialization of Untrusted Data

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a remote attacker to load an unsafe object during deserialization.

The vulnerability exists due to unsafe deserialization in BsonMapper when processing a user-supplied JSON string containing the _type field. A remote attacker can send a specially crafted JSON string to load an unsafe object during deserialization.

The issue is exposed when application code accepts plain JSON input for direct insert or update operations and maps data to an object-typed field.


Remediation

Install update from vendor's website.