Description
An authorized user could trigger a server crash by running a query with a 2dsphere index on a field that stores a GeoJSON GeometryCollection containing a Polygon with a strict-winding CRS. Strict-winding polygons are intentionally unsupported for indexing, but the guard that rejects them does not inspect members of a GeometryCollection, allowing the unsafe path to be reached which ends with an ensuing null-pointer dereference.
Problem types
CWE-476 NULL pointer dereference
Product status
8.3.0 (semver) before 8.3.3
8.2.0 (semver) before 8.2.10
8.0.0 (semver) before 8.0.24
7.0.0 (semver) before 7.0.35
Credits
muhammaddaffa
References
jira.mongodb.org/browse/SERVER-123440