Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestions search

With package: perl538Packages.MongoDB

Found 1 matching suggestions

View:
Compact
Detailed
Untriaged
created 1 month, 1 week ago
NoSQL Injection via WebSocket id Parameter in MongoDB Adapter

Feathersjs is a framework for creating web APIs and real-time applications with TypeScript or JavaScript. From 5.0.0 to before 5.0.42, Socket.IO clients can send arbitrary JavaScript objects as the id argument to any service method (get, patch, update, remove). The transport layer performs no type checking on this argument. When the service uses the MongoDB adapter, these objects pass through getObjectId() and land directly in the MongoDB query as operators. Sending {$ne: null} as the id matches every document in the collection. This vulnerability is fixed in 5.0.42.

Affected products

mongodb
  • ==>= 5.0.0, < 5.0.42

Matching in nixpkgs

pkgs.mongodb

Scalable, high-performance, open source NoSQL database

pkgs.mongodb-ce

MongoDB is a general purpose, document-based, distributed database.

pkgs.mongodb-6_0

Scalable, high-performance, open source NoSQL database

pkgs.mongodb-cli

MongoDB CLI enable you to manage your MongoDB via ops manager and cloud manager