Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2022-23535 (Critical) detected in LiteDB-3.1.0.0.dll #22

Open
mend-bolt-for-github bot opened this issue Feb 27, 2023 · 0 comments
Open

CVE-2022-23535 (Critical) detected in LiteDB-3.1.0.0.dll #22

mend-bolt-for-github bot opened this issue Feb 27, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Feb 27, 2023

CVE-2022-23535 - Critical Severity Vulnerability

Vulnerable Library - LiteDB-3.1.0.0.dll

LiteDB

Library home page: https://api.nuget.org/packages/litedb.3.1.0.nupkg

Path to vulnerable library: /References/DNN/09.07.00/LiteDB.dll

Dependency Hierarchy:

  • LiteDB-3.1.0.0.dll (Vulnerable Library)

Found in base branch: development

Vulnerability 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.

Publish Date: 2023-02-24

URL: CVE-2022-23535

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

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

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Feb 27, 2023
@mend-bolt-for-github mend-bolt-for-github bot 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants