{"id":"CVE-2021-32037","state":"PUBLISHED","title":"User may trigger invariant when allowed to send commands directly to shards","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. This issue affects MongoDB Server v5.0 versions prior to and including 5.0.2.","publishedAt":"2021-11-24T10:40:10.557Z","updatedAt":"2024-09-16T22:26:43.627Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"mongodb"},"assigner":"mongodb","products":["MongoDB Inc. MongoDB Server"],"affected":[{"vendor":"MongoDB Inc.","product":"MongoDB Server","defaultStatus":"unaffected","versions":[{"version":"5.0","status":"affected","lessThanOrEqual":"5.0.2","versionType":"custom"}]}],"references":["https://jira.mongodb.org/browse/SERVER-59071"],"weaknesses":["CWE-617"],"ingestedAt":"2026-10-29T19:48:33.225Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/32xxx/CVE-2021-32037.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-32037","state":"PUBLISHED","datePublished":"2021-11-24T10:40:10.557Z","dateUpdated":"2024-09-16T22:26:43.627Z","assignerShortName":"mongodb","assignerOrgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateReserved":"2021-05-05T00:00:00.000Z"},"containers":{"cna":{"title":"User may trigger invariant when allowed to send commands directly to shards","descriptions":[{"lang":"en","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. This issue affects MongoDB Server v5.0 versions prior to and including 5.0.2."}],"affected":[{"vendor":"MongoDB Inc.","product":"MongoDB Server","defaultStatus":"unaffected","versions":[{"version":"5.0","status":"affected","lessThanOrEqual":"5.0.2","versionType":"custom"}]}],"references":[{"url":"https://jira.mongodb.org/browse/SERVER-59071","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"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"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-617","description":"CWE-617 Reachable Assertion","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mongodb","orgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateUpdated":"2024-01-23T16:23:54.539Z"},"datePublic":"2021-11-24T00:00:00.000Z","source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"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":[{"name":"https://jira.mongodb.org/browse/SERVER-59071","refsource":"MISC","url":"https://jira.mongodb.org/browse/SERVER-59071"}]},"source":{"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://jira.mongodb.org/browse/SERVER-59071","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T23:17:28.828Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"mongodb","product":"mongodb","defaultStatus":"unknown","versions":[{"version":"5.0","status":"affected","lessThanOrEqual":"5.0.2","versionType":"custom"}],"cpes":["cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-01-24T16:19:37.309389Z","id":"CVE-2021-32037","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-15T17:09:26.403Z"}}]}}}