You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
mend-bolt-for-githubbot
changed the title
CVE-2022-23535 (High) detected in LiteDB-3.1.0.0.dll
CVE-2022-23535 (Critical) detected in LiteDB-3.1.0.0.dll
Jul 24, 2023
CVE-2022-23535 - Critical Severity Vulnerability
LiteDB
Library home page: https://api.nuget.org/packages/litedb.3.1.0.nupkg
Path to vulnerable library: /References/DNN/09.02.01/LiteDB.dll
Dependency Hierarchy:
Found in HEAD commit: 9b2fdadcb0ce9dacb6e87e0b604cf35d751503be
Found in base branch: master
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 usingObject
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.Publish Date: 2023-02-24
URL: CVE-2022-23535
Base Score Metrics:
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2022-23535
Release Date: 2023-02-24
Fix Resolution: LiteDB - 5.0.13
Step up your Open Source Security Game with Mend here
The text was updated successfully, but these errors were encountered: