CVE-2022-48282
C# vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2022-48282) was discovered in MongoDB .NET/C# Driver versions prior to and including v2.18.0. The vulnerability allows privileged users to execute arbitrary code under specific circumstances, potentially causing service disruptions. The issue was discovered externally and was disclosed on February 21, 2023 (MongoDB JIRA, NVD).

Technical details

The vulnerability is related to deserialization of untrusted data (CWE-502) and has a CVSS v3.1 base score of 7.2 (HIGH) with vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. The vulnerability specifically affects applications written in C# that handle arbitrary data serialization using _t without proper validation (NVD).

Impact

Successful exploitation of this vulnerability could lead to arbitrary code execution, potentially causing service disruptions, disclosure of sensitive information, and modification of data. The impact is particularly severe for applications running on Windows hosts using the full .NET Framework (MongoDB JIRA).

Mitigation and workarounds

The vulnerability has been fixed in MongoDB .NET/C# Driver version 2.19.0. The fix includes the implementation of an ObjectSerializer with AllowedTypes configuration to control which types can be deserialized. Users can upgrade to version 2.19.0 or later to address this vulnerability (MongoDB Release).

Additional resources


SourceThis report was generated using AI

Related C# vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-64095CRITICAL9.8
  • C#C#
  • DNN.PLATFORM
NoYesOct 28, 2025
CVE-2025-61413MEDIUM6.1
  • C#C#
  • Piranha
NoNoOct 23, 2025
CVE-2025-62594MEDIUM5.5
  • C#C#
  • Magick.NET-Q16-HDRI-x64
NoYesOct 27, 2025
CVE-2025-64094MEDIUM5.4
  • C#C#
  • DotNetNuke.Core
NoYesOct 28, 2025
CVE-2025-62802MEDIUM4.3
  • C#C#
  • Dnn.Platform
NoYesOct 28, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management