Privilege Escalation Affecting mongodb-js-metrics package, versions <6.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (15th 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-JS-MONGODBJSMETRICS-1243685
  • published7 Apr 2021
  • disclosed7 Apr 2021
  • creditUnknown

Introduced: 7 Apr 2021

CVE-2021-20334  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade mongodb-js-metrics to version 6.0.0 or higher.

Overview

mongodb-js-metrics is a Shareable metric recording.

Affected versions of this package are vulnerable to Privilege Escalation. A malicious 3rd party with local access to the Windows machine can execute arbitrary software with the privileges of the user who is running MongoDB Compass.

CVSS Scores

version 3.1