CVE-2021-32040

CVSS V2 Medium 5 CVSS V3 High 7.5
Description
It may be possible to have an extremely long aggregation pipeline in conjunction with a specific stage/operator and cause a stack overflow due to the size of the stack frames used by that stage. If an attacker could cause such an aggregation to occur, they could maliciously crash MongoDB in a DoS attack. This vulnerability affects MongoDB versions prior to 5.0.4, 4.4.11, 4.2.16.
Overview
  • CVE ID
  • CVE-2021-32040
  • Assigner
  • cna@mongodb.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2022-04-12T15:15:07
  • Last Modified Date
  • 2023-02-03T19:13:37
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:* 1 OR 4.2.0 4.2.16
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:* 1 OR 4.4.0 4.4.11
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:* 1 OR 5.0.0 5.0.4
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:N/I:N/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • NONE
  • Availability Impact
  • PARTIAL
  • Base Score
  • 5
  • Severity
  • MEDIUM
  • Exploitability Score
  • 10
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • NONE
  • Availability Impact
  • HIGH
  • Base Score
  • 7.5
  • Base Severity
  • HIGH
  • Exploitability Score
  • 3.9
  • Impact Score
  • 3.6
References
Reference URL Reference Tags
https://jira.mongodb.org/browse/SERVER-58203 Issue Tracking Patch Vendor Advisory
https://jira.mongodb.org/browse/SERVER-59299 Issue Tracking Patch Vendor Advisory
https://jira.mongodb.org/browse/SERVER-60218 Issue Tracking Patch Vendor Advisory
https://security.netapp.com/advisory/ntap-20220609-0005/
History
Created Old Value New Value Data Type Notes
2022-04-20 16:58:39 Added to TrackCVE
2023-02-03 19:14:22 2023-02-03T19:13:37 CVE Modified Date updated
2023-02-03 19:14:22 Undergoing Analysis Analyzed Vulnerability Status updated
2023-02-03 19:14:22 Weakness Enumeration update