Specifying a non-positive value (including NaN) for the radius in a $centerSphere geo query causes a fatal assertion and a crash of the server.
Users who don't validate the inputs of their geo queries client-side can crash the server. Like all server failures, this may lead to immediate or eventual (in the case of replica sets) unavailability of the database.
Make sure that the radius specified in $centerSphere for geo queries is a positive number.
All production releases up to version 2.6.3 are affected by this issue.
The fix is included in the 2.6.4 production release.
Added validation for circular regions in $near / $within.