9.0.10
12 years ago
1 months ago
Known vulnerabilities in the express-restify-mongoose package. This does not include vulnerabilities belonging to this package’s dependencies.
Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.
Fix 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 |