CVE-2022-48282

Medium

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

SeverityMedium
CVSS6.6
Exploit probability—
ProductMongodb C\# Driver
PublishedFeb 21, 2023
First seenFeb 21, 2023

How to fix

Update
  • mongodb c\#_driver2.19.0 or later
  • MongoDB.Driver2.19.0 or later

Affected products

ProductAffected versionsFixed in
mongodb c\#_driverv < 2.19.02.19.0
MongoDB.DriverNuGetv < 2.19.02.19.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-48282 · Mongodb C\# Driver · Dark Radar