{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2022-48282",
        "ASSIGNER": "cna@mongodb.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "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"
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-502 Deserialization of Untrusted Data",
                        "cweId": "CWE-502"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "MongoDB Inc",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "MongoDB .NET/C# Driver",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<=",
                                            "version_name": "0",
                                            "version_value": "v2.18.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://jira.mongodb.org/browse/CSHARP-4475",
                "refsource": "MISC",
                "name": "https://jira.mongodb.org/browse/CSHARP-4475"
            },
            {
                "url": "https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0",
                "refsource": "MISC",
                "name": "https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0"
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.1.0-dev"
    },
    "source": {
        "discovery": "EXTERNAL"
    },
    "configuration": [
        {
            "lang": "en",
            "supportingMedia": [
                {
                    "base64": false,
                    "type": "text/html",
                    "value": "<span style=\"background-color: rgb(238, 238, 238);\">Application must written in C# taking arbitrary data from users and serializing data using _t without any validation AND</span><br><span style=\"background-color: rgb(238, 238, 238);\">Application must be running on a Windows host using the full .NET Framework, not .NET Core AND</span><br><span style=\"background-color: rgb(238, 238, 238);\">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</span><br><span style=\"background-color: rgb(238, 238, 238);\">Malicious attacker must have unrestricted insert access to target database to add a _t discriminator.</span><br>"
                }
            ],
            "value": "Application must written in C# taking arbitrary data from users and serializing data using _t without any validation AND\nApplication must be running on a Windows host using the full .NET Framework, not .NET Core AND\nApplication 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\nMalicious attacker must have unrestricted insert access to target database to add a _t discriminator.\n"
        }
    ],
    "credits": [
        {
            "lang": "en",
            "value": "Jonathan Birch of Microsoft Office Security"
        }
    ],
    "impact": {
        "cvss": [
            {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 6.6,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "HIGH",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
            }
        ]
    }
}