CVE-2024-6376
JSON

7.0high

ejson shell parser in MongoDB Compass maybe bypassed

Severity
7.0high CVSS:3.1 by mongodb
Exploit likelihood
0.48% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mongodb
Also known as
GHSA-jxr4-4prv-mh83

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

Product or packageVersionsReported by
MongoDB Inc MongoDB Compassbefore 1.42.2CVE List
@mongodb-js/connection-form (npm)before 1.20.1GitHub Advisory Database
mongodb compassbefore 1.42.2NVD

All scores

mongodb7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHub7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-20CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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

GitHub Advisory Database

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.

NVD (es)

MongoDB Compass puede ser susceptible a la inyección de código debido a una configuración insuficiente de protección de la zona de pruebas con el uso del analizador de shell ejson en el manejo de conexiones de Compass. Este problema afecta a las versiones de MongoDB Compass anteriores a la versión 1.42.2

References

Sources

SourceRecordLicence
CVE ListCVE-2024-6376 changed 2024-08-01CVE Terms of Use
GitHub Advisory DatabaseGHSA-jxr4-4prv-mh83 changed 2025-02-27CC-BY-4.0
NVDCVE-2024-6376 changed 2026-06-17Public domain