Skip to content
Heist/ feed
Back to feed
Medium

MongoDB Server (mongod) may crash when generating ftdc

Type: advisorySources: OSV

An unauthenticated user can trigger a fatal assertion in the server while generating ftdc diagnostic metrics due to attempting to build a BSON object that exceeds certain memory sizes. This issue affects MongoDB Server v5.0 versions prior to and including 5.0.16 and MongoDB Server v6.0 versions prior to and including 6.0.5.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-3374
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 02:30 UTC · Revision 1

Source evidence

MongoDB Server (mongod) may crash when generating ftdc

core-osv · Original source

Published 14 May 2024, 13:26 UTC

An unauthenticated user can trigger a fatal assertion in the server while generating ftdc diagnostic metrics due to attempting to build a BSON object that exceeds certain memory sizes. This issue affects MongoDB Server v5.0 versions prior to and including 5.0.16 and MongoDB Server v6.0 versions prior to and including 6.0.5.

osv:CVE-2024-3374
Complete source record
{
  "id": "58fa01230a644b671176bd0d7b1bec27481e5809b917bca0fdd1d5bbe4a345f5",
  "url": "https://osv.dev/vulnerability/CVE-2024-3374",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "MongoDB Server (mongod) may crash when generating ftdc",
    "summary": "An unauthenticated user can trigger a fatal assertion in the server while generating ftdc diagnostic metrics due to attempting to build a BSON object that exceeds certain memory sizes. This issue affects MongoDB Server v5.0 versions prior to and including 5.0.16 and MongoDB Server v6.0 versions prior to and including 6.0.5.",
    "evidence": "osv:CVE-2024-3374",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-3374",
      "aliases": [
        "BIT-mongodb-2024-3374",
        "CVE-2024-3374"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mongodb/mongo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1184f004a99660de6f5e745573419bda8a28c0e9"
                },
                {
                  "last_affected": "3f24d5d25363a17963027526a8531202e8f3cd6e"
                },
                {
                  "introduced": "e61bf27c2f6a83fed36e5a13c008a32d563babe2"
                },
                {
                  "last_affected": "c9a99c120371d4d4c52cbb15dac34a36ce8d3b1d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.0.0"
                      },
                      {
                        "last_affected": "5.0.16"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.0.0"
                      },
                      {
                        "last_affected": "6.0.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "r5.0.16-rc0",
            "r5.0.16",
            "r6.0.5-rc1",
            "r6.0.5",
            "r6.0.5-rc0",
            "r6.0.4-rc1",
            "r5.0.15-rc2",
            "r5.0.15",
            "r5.0.15-rc1",
            "r5.0.15-rc0",
            "r6.0.4-rc0",
            "r6.0.4",
            "r5.0.14-rc0",
            "r5.0.14",
            "r6.0.3-rc2",
            "r6.0.3-rc1",
            "r6.0.3",
            "r6.0.3-rc0",
            "r6.0.2-rc1",
            "r6.0.2",
            "r5.0.13-rc0",
            "r5.0.13",
            "r5.0.12-rc0",
            "r5.0.12",
            "r6.0.2-rc0",
            "r5.0.11-rc1",
            "r5.0.11",
            "r5.0.11-rc0",
            "r6.0.1-rc0",
            "r6.0.1",
            "r5.0.10-rc0",
            "r5.0.10",
            "r6.0.0",
            "r5.0.9-rc1",
            "r5.0.9",
            "r5.0.9-rc0",
            "r5.0.8-rc0",
            "r5.0.8",
            "r5.0.7-rc1",
            "r5.0.7",
            "r5.0.7-rc0",
            "r5.0.6-rc2",
            "r5.0.6",
            "r5.0.6-rc1",
            "r5.0.6-rc0",
            "r5.0.5-rc0",
            "r5.0.5",
            "r5.0.4-rc0",
            "r5.0.4",
            "r5.0.3-rc2",
            "r5.0.3",
            "r5.0.3-rc1",
            "r5.0.3-rc0",
            "r5.0.2-rc0",
            "r5.0.2",
            "r5.0.1-rc0",
            "r5.0.1",
            "r5.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-3374.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.983149419Z",
      "provider": "osv",
      "references": [
        "https://jira.mongodb.org/browse/SERVER-75601",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3374.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-3374"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-617"
        ],
        "cna_assigner": "mongodb",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.0"
                  },
                  {
                    "last_affected": "5.0.16"
                  },
                  {
                    "introduced": "6.0"
                  },
                  {
                    "last_affected": "6.0.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3374.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-3374",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 514292,
  "published_at": "2024-05-14T13:26:42.389+00:00"
}