HighGHSA-mh5c-679w-hh4r
Denial of Service in mongodb
Published 3 Sept 2020 · Updated 31 Aug 2020
Affected package
mongodbnpm
- Affected
- <3.1.13
- Fixed in
- 3.1.13
Update to the fixed version for your release line, for example:
npm install mongodb@3.1.13Details
Versions of mongodb prior to 3.1.13 are vulnerable to Denial of Service. The package fails to properly catch an exception when a collection name is invalid and the DB does not exist, crashing the application.
Recommendation
Upgrade to version 3.1.13 or later.
Is GHSA-mh5c-679w-hh4r in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected mongodb, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.