Vulnerability · Published Jul 1, 2024 · Assigned by mongodb

CVE-2024-6376ejson shell parser in MongoDB Compass maybe bypassed

High 7.0

In plain English

A high-severity improper input validation in MongoDB Compass from MongoDB Inc. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.0High
Exploit odds (30 days)0.5%top 58.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of ejson shell parser in Compass' connection handling. This issue affects MongoDB Compass versions prior to version 1.42.2

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@mongodb-js/connection-form1.20.1GHSA-jxr4-4prv-mh83

Affected products (as reported)

VendorProductVersions
MongoDB Inc MongoDB Compass 0 – before 1.42.2

Weakness: CWE-20 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

References