CVE-2022-23535

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-23535
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23535.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-23535
Aliases
Withdrawn
2024-11-21T01:39:13.971610Z
Published
2023-02-24T23:15:10Z
Modified
2024-05-15T01:15:39.119652Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/mbdavid/litedb

Affected ranges

Type
GIT
Repo
https://github.com/mbdavid/litedb
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v.*

v.3.1.4

v0.*

v0.8.0
v0.9.0

v1.*

v1.0.0
v1.0.1
v1.0.2
v1.0.3
v1.0.4

v2.*

v2.0.0
v2.0.0-beta
v2.0.0-rc
v2.0.0-rc2
v2.0.1
v2.0.2
v2.0.4

v3.*

v3.0.0
v3.0.0-beta
v3.0.0-beta2
v3.0.0-beta3
v3.0.1
v3.1.0
v3.1.1
v3.1.2
v3.1.3

v4.*

v4.0.0
v4.0.0-beta1
v4.0.0-beta2
v4.1.0
v4.1.1
v4.1.2
v4.1.3
v4.1.4

v5.*

v5.0.0-alpha
v5.0.0-alpha2
v5.0.0-beta
v5.0.0-rc
v5.0.1
v5.0.10
v5.0.11
v5.0.12
v5.0.2
v5.0.3
v5.0.4
v5.0.5
v5.0.7
v5.0.8
v5.0.9