Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. express-restify-mongoose
  4. ›
  5. GMS-2016-25

GMS-2016-25: Private Data Disclosure

April 19, 2016

A malicious user could go to your application and send a request for GET /User?distinct=password and get all the passwords for all the users in the database, despite the field being set to private. This could also be used for other private data if the malicious user knew what was set as private for specific routes.

References

  • github.com/florianholzapfel/express-restify-mongoose/issues/252

Code Behaviors & Features

Detect and mitigate GMS-2016-25 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.0a up to 3.0.1, all versions up to 2.4.2

Fixed versions

  • 2.5.0
  • 3.1.0

Solution

Update to at least version 3.1.0 or 2.5.0

Source file

npm/express-restify-mongoose/GMS-2016-25.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:30 +0000.