Two fixes for MongoDB connections, both affecting 0.9.0 to 0.34.1.
rows of each run of a saved mongo query with an undeclared placeholder: a run that returned far more than usual.- SecurityA
MongoDBparameter could be query operators. For a savedmongoquery whose placeholder had no declared type,{"$ne": null}matched every document. A value is now a string, number, boolean, null or a list of those; a document is refused withparam_invalid. Typed placeholders were never affected. - SecurityServer-side JavaScript in a projection or sort.
$where,$functionand$accumulatorwere refused in a filter but not inprojectionorsort. They are refused there too, and when a saved query is saved.