MongoDB Inc MongoDB Server
Pre-authentication Denial of Service Stack Overflow Vulnerability in JSON Parsing via Excessive Recursion in MongoDB
MongoDB Server may be susceptible to stack overflow due to JSON parsing mechanism, where specifically crafted JSON inputs may induce unwarranted levels of recursion, resulting in excessive stack space consumption. Such inputs can lead to a stack overflow that causes the server to crash which could occur pre-authorisation. This issue affects MongoDB Server v7.0 versions prior to 7.0.17 and MongoDB Server v8.0 versions prior to 8.0.5. The same issue affects MongoDB Server v6.0 versions prior to 6.0.21, but an attacker can only induce denial of service after authenticating.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 6.0, < 6.0.21
- >= 7.0, < 7.0.17
- >= 8.0, < 8.0.5
Fixed in 6.0.21, 7.0.17, 8.0.5
Mitigation
Upgrade MongoDB Server to 6.0.21 or 7.0.17 or 8.0.5 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.