Skip to main content

CVE-2022-48282 — Vulnerability in MongoDB.Driver — CVE Details

HIGH

MongoDB .NET/C# Driver vulnerable to Deserialization of Untrusted Data

Published February 21, 2023Updated November 8, 2023Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (2.10%). Schedule for your next planned update.

Does your project use an affected MongoDB.Driver version?

Paste your packages.lock.json to check it for CVE-2022-48282 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my packages.lock.json

Summary

Under very specific circumstances, a privileged user is able to cause arbitrary code to be executed which may cause further disruption to services. This is specific to applications written in C#. This affects all MongoDB .NET/C# Driver versions prior to and including v2.18.0

Advisory Timeline

  • First published February 21, 2023 (1374 days ago).
  • Last revised November 8, 2023 — 259 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update MongoDB.Driver to 2.19.0 or later
dotnet add package MongoDB.Driver --version 2.19.0

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: NuGet (1).

PackageFixed In
MongoDB.Driver NuGet · Affected: 1.0.3744.30075, 2.0.0, 2.0.0-beta1, 2.0.0-beta2 (+78 more)2.19.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.2 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2022-48282?
MongoDB .NET/C# Driver vulnerable to Deserialization of Untrusted Data. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.2/10).
How do I check if my project is affected by CVE-2022-48282?
CVE-2022-48282 affects MongoDB.Driver. It has a 2.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-48282 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.2

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
2.10%
EPSS percentile: 82.3

This places it in the top quartile of EPSS-scored vulnerabilities — 82.3% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.

Also Known As

GHSA-7j9m-j397-g4wx

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json