Deserialization of Untrusted Data in LiteDB - CVE-2022-23535

 

Deserialization of Untrusted Data in LiteDB - CVE-2022-23535

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


Vulnerability identifier: #VU139891
CSH Severity: Medium
CVSS v4: 6.9 [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]
CVE-ID: CVE-2022-23535
CWE-ID: CWE-502
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

LiteDB
Worksoft Connective Automation Platform for IBM

How to mitigate CVE-2022-23535

Install security update from vendor's website.

LiteDB - update to 5.0.13
Worksoft Connective Automation Platform for IBM - update to 14.6.1

External References

Related Security Bulletins