express-restify-mongoose@2.2.0 vulnerabilities
Easily create a flexible REST interface for mongoose models
-
latest version
9.0.5
-
latest non vulnerable version
-
first published
12 years ago
-
latest version published
16 days ago
-
licenses detected
- >=0.0.7
Direct Vulnerabilities
Known vulnerabilities in the express-restify-mongoose package. This does not include vulnerabilities belonging to this package’s dependencies.
Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.Vulnerability | Vulnerable Version |
---|---|
It supports marking certain fields as private, to keep from exposing them to users, but fails to remove those fields from certain output scenarios, resulting in potential private data exposure. For instance, if you have the following User model:
To keep from exposing the password, you'll likely to want to call it out as a private field like so:
This will indeed result in the password field not showing when you request an item, for instance via However, when querying on that field, using How to fix Private Data Disclosure? Update to version |
<2.5.0
>=3.0.0 <3.1.0
|