{ "id": "CVE-2022-48282", "sourceIdentifier": "cna@mongodb.com", "published": "2023-02-21T19:15:10.827", "lastModified": "2023-06-21T13:15:09.800", "vulnStatus": "Modified", "descriptions": [ { "lang": "en", "value": "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" } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 7.2, "baseSeverity": "HIGH" }, "exploitabilityScore": 1.2, "impactScore": 5.9 }, { "source": "cna@mongodb.com", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 6.6, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 0.7, "impactScore": 5.9 } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-502" } ] }, { "source": "cna@mongodb.com", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-502" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:mongodb:c\\#_driver:*:*:*:*:*:mongodb:*:*", "versionEndExcluding": "2.19.0", "matchCriteriaId": "1712D175-FF7C-4AED-AA0D-65C70ED63AFE" } ] } ] } ], "references": [ { "url": "https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0", "source": "cna@mongodb.com", "tags": [ "Release Notes" ] }, { "url": "https://jira.mongodb.org/browse/CSHARP-4475", "source": "cna@mongodb.com", "tags": [ "Patch", "Vendor Advisory" ] } ] }