ISSUE SUMMARY
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.
USER IMPACT
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.
WORKAROUNDS
Make sure that the radius specified in $centerSphere for geo queries is a positive number.
AFFECTED VERSIONS
All production releases up to version 2.6.3 are affected by this issue.
FIX VERSION
The fix is included in the 2.6.4 production release.
RESOLUTION DETAILS
Added validation for circular regions in $near / $within.