MongoDB Server
Use-After-Free in MongoDB Server JavaScript Support for Aggregation Leads to Information Disclosure
A use-after-free weakness in MongoDB Server's server-side JavaScript support for aggregation may allow a stale reference to previously freed process memory to be read and returned. An authenticated user with minimal or no assigned roles can trigger this condition over the normal network protocol by submitting a single crafted aggregation request, with no additional privileges or non-default configuration. Successful triggering this issue may result in adjacent process memory contents being returned, including data that undermines memory-layout randomization, and may in some cases affect server availability.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8.3.0, < 8.3.16
- >= 8.0.0, < 8.0.37
- >= 7.0.0, < 7.0.48
Fixed in 8.3.16, 8.0.37, 7.0.48
Mitigation
Upgrade MongoDB Server to 8.3.16 or 8.0.37 or 7.0.48 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.