Description
Mongoid does not neutralize a string-typed query criterion supplied to its query builder, and instead passes it to the database as a server-side JavaScript expression. An unauthenticated party able to influence the value an application supplies as a query argument may cause code of their choosing to be evaluated by the database engine. This may result in unintended disclosure of stored field values, unintended selection of documents for application-initiated writes, and reduced database performance.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
MongoDB Inc. Mongoid
Default version status: unaffected
9.1.0affected9.0.0 to ≤ 9.0.11affected8.1.0 to ≤ 8.1.12affected8.0.0 to ≤ 8.0.12affected