CVE-2022-48282 — Vulnerability in MongoDB.Driver — CVE Details
MongoDB .NET/C# Driver vulnerable to Deserialization of Untrusted Data
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.
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.
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).
| Package | Fixed 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-502Deserialization of Untrusted DataMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.2 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
References
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
Significant impact if exploited, or exploitable with modest effort.
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
Related CVEs
- CVE-2026-102529HIGH
HtmlSanitizer: CSS Removal DoS
- CVE-2026-63184HIGH
Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion