CVE-2022-48282 (GCVE-0-2022-48282)

Vulnerability from cvelistv5 – Published: 2023-02-21 18:35 – Updated: 2025-03-11 19:20
VLAI
Title
Deserializing compromised object with MongoDB .NET/C# Driver may cause remote code execution
Summary
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
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-03-11 19:19 UTC
CWE
  • CWE-502 - Deserialization of Untrusted Data
Impacted products
Vendor Product Version CPE status
MongoDB Inc MongoDB .NET/C# Driver Affected: 0 , ≤ v2.18.0 (custom)
guessed Create a notification for this product.
Date Public
2023-02-21 19:39
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T15:10:59.481Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "https://security.netapp.com/advisory/ntap-20230324-0003/"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://jira.mongodb.org/browse/CSHARP-4475"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2022-48282",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-03-11T19:19:47.914316Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-03-11T19:20:08.556Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "MongoDB .NET/C# Driver",
          "vendor": "MongoDB Inc",
          "versions": [
            {
              "lessThanOrEqual": "v2.18.0",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eApplication must written in C# taking arbitrary data from users and serializing data using _t without any validation AND\u003c/span\u003e\u003cbr\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eApplication must be running on a Windows host using the full .NET Framework, not .NET Core AND\u003c/span\u003e\u003cbr\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eApplication 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\u003c/span\u003e\u003cbr\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eMalicious attacker must have unrestricted insert access to target database to add a _t discriminator.\u003c/span\u003e\u003cbr\u003e"
            }
          ],
          "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",
          "type": "reporter",
          "user": "00000000-0000-4000-9000-000000000000",
          "value": "Jonathan Birch of Microsoft Office Security"
        }
      ],
      "datePublic": "2023-02-21T19:39:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eUnder 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\u003cbr\u003e\u003cbr\u003e\u003c/span\u003e\u003c/span\u003eFollowing configuration must be true for the vulnerability to be applicable:\u003cul\u003e\u003cli\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eApplication must written in C# taking arbitrary data from users and serializing data using _t without any validation AND\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eApplication must be running on a Windows host using the full .NET Framework, not .NET Core AND\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eApplication 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\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eMalicious attacker must have unrestricted insert access to target database to add a _t discriminator.\u003c/span\u003e\"Following configuration must be true for the vulnerability to be applicable\u003c/li\u003e\u003c/ul\u003e\u003c/span\u003e\u003c/span\u003e\u003cbr\u003e"
            }
          ],
          "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": [
        {
          "cvssV3_1": {
            "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"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-502",
              "description": "CWE-502 Deserialization of Untrusted Data",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2023-06-21T12:05:55.251Z",
        "orgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
        "shortName": "mongodb"
      },
      "references": [
        {
          "url": "https://jira.mongodb.org/browse/CSHARP-4475"
        },
        {
          "url": "https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "Deserializing compromised object with MongoDB .NET/C# Driver may cause remote code execution",
      "x_generator": {
        "engine": "Vulnogram 0.1.0-dev"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
    "assignerShortName": "mongodb",
    "cveId": "CVE-2022-48282",
    "datePublished": "2023-02-21T18:35:11.643Z",
    "dateReserved": "2023-01-23T15:11:45.562Z",
    "dateUpdated": "2025-03-11T19:20:08.556Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-48282",
      "date": "2026-09-21",
      "epss": "0.01379",
      "percentile": "0.70473"
    },
    "fkie_nvd": {
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:mongodb:c\\#_driver:*:*:*:*:*:mongodb:*:*",
                  "matchCriteriaId": "1712D175-FF7C-4AED-AA0D-65C70ED63AFE",
                  "versionEndExcluding": "2.19.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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"
        }
      ],
      "id": "CVE-2022-48282",
      "lastModified": "2024-11-21T07:33:04.807",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "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"
            },
            "exploitabilityScore": 0.7,
            "impactScore": 5.9,
            "source": "cna@mongodb.com",
            "type": "Secondary"
          },
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 7.2,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "HIGH",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 1.2,
            "impactScore": 5.9,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2023-02-21T19:15:10.827",
      "references": [
        {
          "source": "cna@mongodb.com",
          "tags": [
            "Release Notes"
          ],
          "url": "https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0"
        },
        {
          "source": "cna@mongodb.com",
          "tags": [
            "Patch",
            "Vendor Advisory"
          ],
          "url": "https://jira.mongodb.org/browse/CSHARP-4475"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Release Notes"
          ],
          "url": "https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch",
            "Vendor Advisory"
          ],
          "url": "https://jira.mongodb.org/browse/CSHARP-4475"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "https://security.netapp.com/advisory/ntap-20230324-0003/"
        }
      ],
      "sourceIdentifier": "cna@mongodb.com",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-502"
            }
          ],
          "source": "cna@mongodb.com",
          "type": "Secondary"
        },
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-502"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "MongoDB .NET/C# Driver",
                "vendor": "MongoDB Inc",
                "versions": [
                  {
                    "lessThanOrEqual": "v2.18.0",
                    "status": "affected",
                    "version": "0",
                    "versionType": "custom"
                  }
                ]
              }
            ],
            "source": "cna@mongodb.com"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:mongodb:c\\#_driver:*:*:*:*:*:mongodb:*:*",
                    "matchCriteriaId": "1712D175-FF7C-4AED-AA0D-65C70ED63AFE",
                    "versionEndExcluding": "2.19.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "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"
          }
        ],
        "id": "CVE-2022-48282",
        "lastModified": "2026-06-17T05:14:54.437",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "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"
              },
              "exploitabilityScore": 0.7,
              "impactScore": 5.9,
              "source": "cna@mongodb.com",
              "type": "Secondary"
            },
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.2,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "HIGH",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.2,
              "impactScore": 5.9,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2022-48282",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-03-11T19:19:47.914316Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2023-02-21T19:15:10.827",
        "references": [
          {
            "source": "cna@mongodb.com",
            "tags": [
              "Release Notes"
            ],
            "url": "https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0"
          },
          {
            "source": "cna@mongodb.com",
            "tags": [
              "Patch",
              "Vendor Advisory"
            ],
            "url": "https://jira.mongodb.org/browse/CSHARP-4475"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Release Notes"
            ],
            "url": "https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch",
              "Vendor Advisory"
            ],
            "url": "https://jira.mongodb.org/browse/CSHARP-4475"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://security.netapp.com/advisory/ntap-20230324-0003/"
          }
        ],
        "sourceIdentifier": "cna@mongodb.com",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-502"
              }
            ],
            "source": "cna@mongodb.com",
            "type": "Secondary"
          },
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-502"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "current_release_date": "2025-05-29T01:14:37+00:00",
      "cve": "CVE-2022-48282",
      "id": "CVE-2022-48282",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "Deserializing compromised object with MongoDB .NET/C# Driver may cause remote code execution",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-48282.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-03T15:10:59.481Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "url": "https://security.netapp.com/advisory/ntap-20230324-0003/"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://jira.mongodb.org/browse/CSHARP-4475"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2022-48282",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-03-11T19:19:47.914316Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-03-11T19:19:55.882Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "MongoDB .NET/C# Driver",
              "vendor": "MongoDB Inc",
              "versions": [
                {
                  "lessThanOrEqual": "v2.18.0",
                  "status": "affected",
                  "version": "0",
                  "versionType": "custom"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eApplication must written in C# taking arbitrary data from users and serializing data using _t without any validation AND\u003c/span\u003e\u003cbr\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eApplication must be running on a Windows host using the full .NET Framework, not .NET Core AND\u003c/span\u003e\u003cbr\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eApplication 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\u003c/span\u003e\u003cbr\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eMalicious attacker must have unrestricted insert access to target database to add a _t discriminator.\u003c/span\u003e\u003cbr\u003e"
                }
              ],
              "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",
              "type": "reporter",
              "user": "00000000-0000-4000-9000-000000000000",
              "value": "Jonathan Birch of Microsoft Office Security"
            }
          ],
          "datePublic": "2023-02-21T19:39:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eUnder 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\u003cbr\u003e\u003cbr\u003e\u003c/span\u003e\u003c/span\u003eFollowing configuration must be true for the vulnerability to be applicable:\u003cul\u003e\u003cli\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eApplication must written in C# taking arbitrary data from users and serializing data using _t without any validation AND\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eApplication must be running on a Windows host using the full .NET Framework, not .NET Core AND\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eApplication 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\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan style=\"background-color: rgb(238, 238, 238);\"\u003eMalicious attacker must have unrestricted insert access to target database to add a _t discriminator.\u003c/span\u003e\"Following configuration must be true for the vulnerability to be applicable\u003c/li\u003e\u003c/ul\u003e\u003c/span\u003e\u003c/span\u003e\u003cbr\u003e"
                }
              ],
              "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": [
            {
              "cvssV3_1": {
                "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"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-502",
                  "description": "CWE-502 Deserialization of Untrusted Data",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2023-06-21T12:05:55.251Z",
            "orgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
            "shortName": "mongodb"
          },
          "references": [
            {
              "url": "https://jira.mongodb.org/browse/CSHARP-4475"
            },
            {
              "url": "https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Deserializing compromised object with MongoDB .NET/C# Driver may cause remote code execution",
          "x_generator": {
            "engine": "Vulnogram 0.1.0-dev"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
        "assignerShortName": "mongodb",
        "cveId": "CVE-2022-48282",
        "datePublished": "2023-02-21T18:35:11.643Z",
        "dateReserved": "2023-01-23T15:11:45.562Z",
        "dateUpdated": "2025-03-11T19:20:08.556Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…