{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-3371 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-3371 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-3371 is a high-severity vulnerability in MongoDB Compass, published on 24 Apr 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-3371 and fix it if it is affected.\n\nWhat it is: CVE-2024-3371 is a high-severity vulnerability in MongoDB Compass, published on 24 Apr 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-3371 in the wild and no public exploit code.\n\nAffected product: MongoDB Compass. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-3371/ (Markdown: https://insights.sbomify.com/CVE-2024-3371/index.md)","id":"CVE-2024-3371","markdown":"https://insights.sbomify.com/CVE-2024-3371/index.md","name":"CVE-2024-3371","record":{"aliases":["GHSA-838g-cpgm-j985"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"MongoDB Compass","requires_auth":"low_privilege","summary":"Insufficient input validation in MongoDB Compass allows MITM attacks leading to data disclosure and user impersonation.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mongodb","cpe":[{"product":"compass","vendor":"mongodb"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-360","name":"Trust of System Event Data"}],"description":"MongoDB Compass may accept and use insufficiently validated input from an untrusted external source. This may cause unintended application behavior, including data disclosure and enabling attackers to impersonate users. This issue affects MongoDB Compass versions 1.35.0 to 1.42.0.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Insufficient validation of external input in Compass may enable MITM attacks","id":"CVE-2024-3371","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"MongoDB Server may have unexpected application behaviour due to invalid BSON","id":"CVE-2024-3372"},"packages":[],"prev":{"headline":"SQLi in Egebilgi Software's Website Template","id":"CVE-2024-3370"},"products":["MongoDB Compass"],"published":"2024-04-24","related":[{"cvss_score":8.4,"headline":"Command injection in MongoDB Compass","id":"CVE-2026-14881","kev_date_added":null,"published":"2026-07-22"},{"cvss_score":7.5,"headline":"MongoDB Compass may be susceptible to local privilege escalation in Windows","id":"CVE-2025-1755","kev_date_added":null,"published":"2025-02-27"},{"cvss_score":7,"headline":"ejson shell parser in MongoDB Compass maybe bypassed","id":"CVE-2024-6376","kev_date_added":null,"published":"2024-07-01"},{"cvss_score":5.3,"headline":"Prototype pollution in csv parsing","id":"CVE-2026-9101","kev_date_added":null,"published":"2026-05-20"},{"cvss_score":4.8,"headline":"Local privilege escalation in MongoDB Compass for Windows","id":"CVE-2021-20334","kev_date_added":null,"published":"2021-04-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-07","vendors":["MongoDB Inc"]},"summary":"Insufficient input validation in MongoDB Compass allows MITM attacks leading to data disclosure and user impersonation.","url":"https://insights.sbomify.com/CVE-2024-3371/"}