GitHub Advisoryadvisory · npm
GHSA-mh5c-679w-hh4r Denial of Service in mongodb
HIGH
Official page ↗
- Ecosystem
- npm
- Packages
- mongodb
- Severity
- High
- Reviewed
- 2020-08-31
Affected packages
• npm mongodb: < 3.1.13 → fixed in 3.1.13
Description
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.