{"api_version":"1","generated_at":"2026-07-23T22:43:31+00:00","cve":"CVE-2021-32037","urls":{"html":"https://cve.report/CVE-2021-32037","api":"https://cve.report/api/cve/CVE-2021-32037.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32037","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32037"},"summary":{"title":"CVE-2021-32037","description":"An authorized user may trigger an invariant which may result in denial of service or server exit if a relevant aggregation request is sent to a shard. Usually, the requests are sent via mongos and special privileges are required in order to know the address of the shards and to log in to the shards of an auth enabled environment.","state":"PUBLIC","assigner":"cna@mongodb.com","published_at":"2021-11-24 16:15:00","updated_at":"2024-01-23 17:15:00"},"problem_types":["CWE-617"],"metrics":[],"references":[{"url":"https://jira.mongodb.org/browse/SERVER-59071","name":"https://jira.mongodb.org/browse/SERVER-59071","refsource":"MISC","tags":[],"title":"[SERVER-59071] Using $sample can trigger invariant when connecting directly to shards - MongoDB Jira","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32037","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32037","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"32037","vulnerable":"1","versionEndIncluding":"5.0.2","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mongodb","cpe5":"mongodb","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-32037","qid":"376399","title":"MongoDB Multiple Security Vulnerabilities (SERVER-59071,SERVER-36263)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cna@mongodb.com","DATE_PUBLIC":"2021-11-24T14:09:00.000Z","ID":"CVE-2021-32037","STATE":"PUBLIC","TITLE":"User may trigger invariant when allowed to send commands directly to shards"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"MongoDB Server","version":{"version_data":[{"version_affected":"<=","version_name":"5.0","version_value":"5.0.2"}]}}]},"vendor_name":"MongoDB Inc."}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"An authorized user may trigger an invariant which may result in denial of service or server exit if a relevant aggregation request is sent to a shard. Usually, the requests are sent via mongos and special privileges are required in order to know the address of the shards and to log in to the shards of an auth enabled environment."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-617 Reachable Assertion"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://jira.mongodb.org/browse/SERVER-59071","name":"https://jira.mongodb.org/browse/SERVER-59071"}]},"source":{"discovery":"EXTERNAL"}},"nvd":{"publishedDate":"2021-11-24 16:15:00","lastModifiedDate":"2024-01-23 17:15:00","problem_types":["CWE-617"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.0","versionEndIncluding":"5.0.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"32037","Ordinal":"207393","Title":"CVE-2021-32037","CVE":"CVE-2021-32037","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"32037","Ordinal":"1","NoteData":"An authorized user may trigger an invariant which may result in denial of service or server exit if a relevant aggregation request is sent to a shard. Usually, the requests are sent via mongos and special privileges are required in order to know the address of the shards and to log in to the shards of an auth enabled environment.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"32037","Ordinal":"2","NoteData":"2021-11-24","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"32037","Ordinal":"3","NoteData":"2021-11-24","Type":"Other","Title":"Modified"}]}}}