Skip to content

LiteDB-5.0.12.dll: 1 vulnerabilities (highest severity is: 7.3) #19

Description

@mend-bolt-for-github
Vulnerable Library - LiteDB-5.0.12.dll

LiteDB

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

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

Found in HEAD commit: 6b1a9cd2a202e971cd6ab62cf229535c79441a44

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (LiteDB version) Remediation Possible**
CVE-2022-23535 High 7.3 LiteDB-5.0.12.dll Direct LiteDB - 5.0.13

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2022-23535

Vulnerable Library - LiteDB-5.0.12.dll

LiteDB

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

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

Dependency Hierarchy:

  • LiteDB-5.0.12.dll (Vulnerable Library)

Found in HEAD commit: 6b1a9cd2a202e971cd6ab62cf229535c79441a44

Found in base branch: main

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 (7.3)

Base Score Metrics:

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

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions