{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-48282","id":"CVE-2022-48282","title":"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\n\nFollowing configuration must be true for the vulnerability to be applicable:  * ","descriptionLong":"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\n\n\n\n","published":"2023-02-21T18:35:11.643Z","updated":"2026-10-28T02:30:45.198357683Z","reserved":"2023-01-23T15:11:45.562Z","status":"Modified","rejected":false,"assigner":"mongodb","metric":{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"mongodb"},"metrics":[{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"mongodb"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"mongodb.com"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"medium","products":["MongoDB Inc MongoDB .NET/C# Driver"],"affectedProducts":[{"vendor":"MongoDB Inc","product":"MongoDB .NET/C# Driver","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"v2.18.0","status":"affected","version":"0","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"NuGet","name":"MongoDB.Driver","purl":"pkg:nuget/MongoDB.Driver","ranges":["<2.19.0"],"fixed":["2.19.0"],"advisory":"GHSA-7j9m-j397-g4wx"}],"cwes":["CWE-502"],"aliases":["GHSA-7j9m-j397-g4wx"],"references":[{"url":"https://jira.mongodb.org/browse/CSHARP-4475","tags":["x_transferred","Patch","Vendor Advisory","web"]},{"url":"https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0","tags":["x_transferred","Release Notes","web"]},{"url":"https://security.netapp.com/advisory/ntap-20230324-0003/","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48282.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48282","tags":["advisory"]},{"url":"https://github.com/mongodb/mongo-csharp-driver","tags":["package"]},{"url":"https://jira.mongodb.org/CSHARP-4475","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.01379,"epssPercentile":0.72656,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-48282","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48282","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-48282","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7j9m-j397-g4wx","ok":true,"note":"GHSA-7j9m-j397-g4wx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-48282","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["mongodb"],"critical":[],"attention":null}