Improper Handling of Exceptional Conditions Affecting mongodb package, versions [4.0,4.0.19)[4.2,4.2.8)[4.4,4.4.0)[4.5,4.5.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.44% (63rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-MONGODB-2371283
  • published26 Jan 2022
  • disclosed21 Aug 2020
  • creditUnknown

Introduced: 21 Aug 2020

CVE-2020-7923  (opens in a new tab)
CWE-755  (opens in a new tab)

How to fix?

Upgrade mongodb to version 4.0.19, 4.2.8, 4.4.0, 4.5.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Exceptional Conditions. A user authorized to perform database queries may cause denial of service by issuing specially crafted queries, which violate an invariant in the query subsystem's support for geoNear. This issue affects: MongoDB Inc. MongoDB Server v4.4 versions prior to 4.4.0-rc7; v4.2 versions prior to 4.2.8; v4.0 versions prior to 4.0.19.

References

CVSS Base Scores

version 3.1