{"schemaVersion":3,"id":"CVE-2022-48282","aliases":["GHSA-7j9m-j397-g4wx"],"status":"published","duplicateOf":null,"title":null,"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\n\nFollowing 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\n  *  Application must be running on a Windows host using the full .NET Framework, not .NET Core AND\n  *  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\n  *  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","dates":{"published":"2023-02-21T18:35:11.643Z","modified":"2025-03-11T19:20:08.556Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.6,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Nuget","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01379,"percentile":0.71719,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01379},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01379,"percentile":0.71719}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01379,"percentile":0.71719}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"}],"affected":[{"vendor":"mongodb inc","product":"mongodb .net/c# driver","name":"MongoDB .NET/C# Driver","label":"mongodb .net/c# driver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ v2.18.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ v2.18.0","eol":null,"hubHref":"/vendor/mongodb_inc/mongodb_netc_driver"},{"vendor":"mongodb","product":"c_driver","name":"c driver","label":"c_driver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.19.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.19.0","eol":null,"hubHref":"/vendor/mongodb/c_driver"},{"vendor":"NuGet","product":"MongoDB.Driver","name":"MongoDB.Driver","label":"MongoDB.Driver","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/MongoDB.Driver","purlType":"nuget","versions":[{"text":"< 2.19.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.19.0","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://jira.mongodb.org/browse/CSHARP-4475","label":"jira.mongodb.org/browse/CSHARP-4475","hostname":"jira.mongodb.org","tags":["WEB","Patch","Vendor Advisory"]},{"url":"https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0","label":"github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0","hostname":"github.com","tags":["WEB","Release Notes"]},{"url":"https://security.netapp.com/advisory/ntap-20230324-0003/","label":"security.netapp.com/advisory/ntap-20230324-0003/","hostname":"security.netapp.com","tags":[]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48282","label":"nvd.nist.gov/vuln/detail/CVE-2022-48282","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/mongodb/mongo-csharp-driver","label":"github.com/mongodb/mongo-csharp-driver","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://jira.mongodb.org/CSHARP-4475","label":"jira.mongodb.org/CSHARP-4475","hostname":"jira.mongodb.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-02-21T18:35:11.643Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-11T19:20:08.556Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T16:15:30.820Z","stale":false,"partial":false}}