CVE-2022-23535
HIGHDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Exploit Intelligence
Moderate risk: more likely to be exploited than 49% of all known CVEs.
References
Related Vulnerabilities
Other CWE-502 (Deserialization of Untrusted Data) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2023-0669 | High | 7.2 | 100% | KEV + Ransom | Fix |
| CVE-2021-44228 | Critical | 10.0 | 100% | KEV + Ransom | Fix |
| CVE-2021-35464 | Critical | 9.8 | 100% | KEV + Ransom | Fix |
| CVE-2023-29300 | Critical | 9.8 | 100% | KEV + Ransom | - |
| CVE-2025-53770 | Critical | 9.8 | 100% | KEV + Ransom | Fix |
| CVE-2022-47986 | Critical | 9.8 | 100% | KEV + Ransom | - |
Embed a live status badge for CVE-2022-23535
Markdown
[](https://tridentstack.com/cve/CVE-2022-23535)HTML
<a href="https://tridentstack.com/cve/CVE-2022-23535"><img src="https://tridentstack.com/cve/badge/CVE-2022-23535.svg" alt="CVE-2022-23535"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.