7.2
CWE
502
Advisory Published
Updated

CVE-2022-48282: Deserializing compromised object with MongoDB .NET/C# Driver may cause remote code execution

First published: Tue Feb 21 2023(Updated: )

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

Credit: cna@mongodb.com

Affected SoftwareAffected VersionHow to fix
Mongodb C\# Driver<2.19.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID for this MongoDB .NET/C# Driver vulnerability?

    The vulnerability ID for this MongoDB .NET/C# Driver vulnerability is CVE-2022-48282.

  • What is the severity of CVE-2022-48282?

    The severity of CVE-2022-48282 is high.

  • Which versions of MongoDB .NET/C# Driver are affected by CVE-2022-48282?

    All versions of MongoDB .NET/C# Driver prior to and including 2.19.0 are affected by CVE-2022-48282.

  • What is the CWE-ID associated with CVE-2022-48282?

    The CWE-ID associated with CVE-2022-48282 is CWE-502.

  • How can I fix CVE-2022-48282?

    To fix CVE-2022-48282, it is recommended to upgrade to MongoDB .NET/C# Driver version 2.19.0 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203