Advisory

GHSA-jxr4-4prv-mh83

Also known as: CVE-2024-6376

Summary

ejson shell parser in MongoDB Compass maybe bypassed

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-07-01 15:32 UTC
Modified
2025-02-27 21:12 UTC

Affected packages and fixes

@mongodb-js/connection-form

npm · All systems

Affected

  • introduced 0, fixed 1.20.1 (semver)

Fixed versions

1.20.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences