{"api_version":"1","generated_at":"2026-05-06T11:12:24+00:00","cve":"CVE-2023-43651","urls":{"html":"https://cve.report/CVE-2023-43651","api":"https://cve.report/api/cve/CVE-2023-43651.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-43651","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-43651"},"summary":{"title":"CVE-2023-43651","description":"JumpServer is an open source bastion host. An authenticated user can exploit a vulnerability in MongoDB sessions to execute arbitrary commands, leading to remote code execution. This vulnerability may further be leveraged to gain root privileges on the system. Through the WEB CLI interface provided by the koko component, a user logs into the authorized mongoDB database and exploits the MongoDB session to execute arbitrary commands. This vulnerability has been addressed in versions 2.28.20 and 3.7.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-09-27 21:15:00","updated_at":"2023-10-02 14:17:00"},"problem_types":["CWE-94"],"metrics":[],"references":[{"url":"https://github.com/jumpserver/jumpserver/security/advisories/GHSA-4r5x-x283-wm96","name":"https://github.com/jumpserver/jumpserver/security/advisories/GHSA-4r5x-x283-wm96","refsource":"MISC","tags":[],"title":"RCE on the host system via MongoDB shell  · Advisory · jumpserver/jumpserver · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-43651","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-43651","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"43651","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"fit2cloud","cpe5":"jumpserver","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-43651","qid":"995694","title":"GO (Go) Security Update for github.com/jumpserver/koko (GHSA-4r5x-x283-wm96)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-43651","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"JumpServer is an open source bastion host. An authenticated user can exploit a vulnerability in MongoDB sessions to execute arbitrary commands, leading to remote code execution. This vulnerability may further be leveraged to gain root privileges on the system. Through the WEB CLI interface provided by the koko component, a user logs into the authorized mongoDB database and exploits the MongoDB session to execute arbitrary commands. This vulnerability has been addressed in versions 2.28.20 and 3.7.1. Users are advised to upgrade. There are no known workarounds for this vulnerability."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-94: Improper Control of Generation of Code ('Code Injection')","cweId":"CWE-94"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"jumpserver","product":{"product_data":[{"product_name":"jumpserver","version":{"version_data":[{"version_affected":"=","version_value":">= 2.0.0, < 2.28.20"},{"version_affected":"=","version_value":">= 3.0.0, < 3.7.1"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/jumpserver/jumpserver/security/advisories/GHSA-4r5x-x283-wm96","refsource":"MISC","name":"https://github.com/jumpserver/jumpserver/security/advisories/GHSA-4r5x-x283-wm96"}]},"source":{"advisory":"GHSA-4r5x-x283-wm96","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.6,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-09-27 21:15:00","lastModifiedDate":"2023-10-02 14:17:00","problem_types":["CWE-94"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.1,"impactScore":6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:fit2cloud:jumpserver:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0.0","versionEndExcluding":"3.7.1","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:fit2cloud:jumpserver:*:*:*:*:*:*:*:*","versionStartIncluding":"2.0.0","versionEndExcluding":"2.28.20","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}