{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-0342 exists.","fix":"No fix has been published for CVE-2023-0342 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-0342 is a low-severity vulnerability in MongoDB Ops Manager, published on 9 Jun 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-0342 and fix it if it is affected.\n\nWhat it is: CVE-2023-0342 is a low-severity vulnerability in MongoDB Ops Manager, published on 9 Jun 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-0342 exists.\n\nAffected product: MongoDB Ops Manager. 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-2023-0342/ (Markdown: https://insights.sbomify.com/CVE-2023-0342/index.md)","id":"CVE-2023-0342","markdown":"https://insights.sbomify.com/CVE-2023-0342/index.md","name":"CVE-2023-0342","record":{"aliases":["GHSA-xqvf-v5jg-pxc2"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"MongoDB Ops Manager","requires_auth":"high_privilege","summary":"Attackers can obtain sensitive PEM key file passwords from unredacted diagnostic archives in MongoDB Ops Manager.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mongodb","cpe":[{"product":"ops_manager_server","vendor":"mongodb"}],"cvss":{"score":3.1,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-497","name":"Exposure of Sensitive System Information to an Unauthorized Control Sphere"}],"description":"MongoDB Ops Manager Diagnostics Archive may not redact sensitive PEM key file password app settings. Archives do not include the PEM files themselves. This issue affects MongoDB Ops Manager v5.0 prior to 5.0.21 and MongoDB Ops Manager v6.0 prior to 6.0.12","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2023-06-09","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2023-06-09","kind":"metasploit","ref":"auxiliary/gather/mongodb_ops_manager_diagnostic_archive_info","stars":null,"title":"MongoDB Ops Manager Diagnostic Archive Sensitive Information Retriever"}],"tier":"weaponised"},"has_fix":null,"headline":"MongoDB Ops Manager may disclose sensitive information in Diagnostic Archive","id":"CVE-2023-0342","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"CVE-2023-0343","id":"CVE-2023-0343"},"packages":[],"prev":{"headline":"Stack Buffer Overflow in editorconfig-core-c","id":"CVE-2023-0341"},"products":["MongoDB Ops Manager"],"published":"2023-06-09","related":[{"cvss_score":7.2,"headline":"Privilege Escalation for Project Owner and Project User Admin Roles in Ops Manager","id":"CVE-2023-4009","kev_date_added":null,"published":"2023-08-08"}],"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)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-06","vendors":["MongoDB Inc."]},"summary":"Attackers can obtain sensitive PEM key file passwords from unredacted diagnostic archives in MongoDB Ops Manager.","url":"https://insights.sbomify.com/CVE-2023-0342/"}