CVE-2022-48282

Deserializing compromised object with MongoDB .NET/C# Driver may cause remote code execution

Description

Under very specific circumstances (see Required configuration section below), 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 Following configuration must be true for the vulnerability to be applicable: * Application must written in C# taking arbitrary data from users and serializing data using _t without any validation AND * Application must be running on a Windows host using the full .NET Framework, not .NET Core AND * Application must have domain model class with a property/field explicitly of type System.Object or a collection of type System.Object (against MongoDB best practice) AND * Malicious attacker must have unrestricted insert access to target database to add a _t discriminator."Following configuration must be true for the vulnerability to be applicable

Category

6.6
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.37%
Vendor Advisory mongodb.org
Affected: MongoDB Inc MongoDB .NET/C# Driver
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-48282?
CVE-2022-48282 has been scored as a medium severity vulnerability.
How to fix CVE-2022-48282?
To fix CVE-2022-48282, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-48282 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-48282 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-48282?
CVE-2022-48282 affects MongoDB Inc MongoDB .NET/C# Driver.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.