Deserialization of Untrusted Data in LiteDB - CVE-2022-23535
Published: February 24, 2023 / Updated: July 28, 2026
LiteDB
Detailed vulnerability description
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.