Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-23535— LiteDB contains Deserialization of Untrusted Data

Quick assessment

Affected
mbdavid LiteDB
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

LiteDB是单个数据文件中的 .NET NoSQL 文档存储。 LiteDB 5.0.13之前版本存在安全漏洞,该漏洞源于在 JSON 文档中使用一个特殊的字段来从POCO 类中转换为不同的类型,导致反序列化。

CVSS 7.3 · High EPSS 0.70% · P51
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-23535

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
LiteDB contains Deserialization of Untrusted Data
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
可信数据的反序列化
Source: CVE Program / CVE List V5
Vulnerability Title
LiteDB 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
LiteDB是单个数据文件中的 .NET NoSQL 文档存储。 LiteDB 5.0.13之前版本存在安全漏洞,该漏洞源于在 JSON 文档中使用一个特殊的字段来从POCO 类中转换为不同的类型,导致反序列化。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
mbdavid LiteDB < 5.0.13 -

II. Public POCs for CVE-2022-23535

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-23535

登录查看更多情报信息。

Patches & Fixes for CVE-2022-23535 (1)

Vendor Advisories for CVE-2022-23535 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-23535

No comments yet


Leave a comment