{"id":"CVE-2024-6376","published":"2024-07-01T14:57:31Z","modified":"2024-08-01T21:33:05Z","title":"ejson shell parser in MongoDB Compass maybe bypassed","vendor":"MongoDB Inc","product":"MongoDB Compass","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0048,"percentile":0.42369,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://jira.mongodb.org/browse/COMPASS-7496","tags":[]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":8.47},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"mongodb","affectedVersions":[{"vendor":"MongoDB Inc","product":"MongoDB Compass","versions":["< 1.42.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-07-01T20:45:03.494038Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@mongodb-js/connection-form","vulnerableRanges":["<1.20.1"],"patched":["1.20.1"],"from":["GHSA-jxr4-4prv-mh83"],"provenance":"source"}],"summary":{"text":"The flaw is an insufficient sandbox protection in the ejson shell parser used by the connection handling of MongoDB Compass, which may allow code injection in affected versions prior to 1.42.2. An attacker with local access who can get a user to interact with the application, with no authentication required, may be able to inject and run code through the connection handling path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:57Z"},"euvd":{"id":"EUVD-2024-47483","exploited":false,"provenance":"source"}}