VDB
Sign up
HIGH

GHSA-mh5c-679w-hh4r

Denial of Service in mongodb

Quick fix

GHSA-mh5c-679w-hh4r — mongodb: upgrade to the fixed version with the command below.

npm install mongodb@3.1.13

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/mongodb
Introduced in: 0Fixed in: 3.1.13
Fixnpm install mongodb@3.1.13

References