{"answers":{"affected":"2 open source packages ship an affected version, including github.com/jumpserver/jumpserver and github.com/jumpserver/koko. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-42818 exists.","fix":"Upgrade github.com/jumpserver/jumpserver to a fixed version for your release line: 3.5.6+incompatible or 3.6.5+incompatible.","what":"CVE-2023-42818 is a medium-severity authentication bypass vulnerability in jumpserver, published on 27 Sep 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-42818 and fix it if it is affected.\n\nWhat it is: CVE-2023-42818 is a medium-severity authentication bypass vulnerability in jumpserver, published on 27 Sep 2023. An attacker can exploit it over the internet without logging in, 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-42818 exists.\n\nAffected packages and fixed versions:\n- github.com/jumpserver/jumpserver (Go): affected all versions; fixed in 3.5.6+incompatible, 3.6.5+incompatible\n- github.com/jumpserver/koko (Go): affected all versions; no fix listed\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-42818/ (Markdown: https://insights.sbomify.com/CVE-2023-42818/index.md)","id":"CVE-2023-42818","markdown":"https://insights.sbomify.com/CVE-2023-42818/index.md","name":"CVE-2023-42818","record":{"aliases":["GHSA-jv3c-27cv-w8jv","GO-2025-3570"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"JumpServer bastion host","requires_auth":"none","summary":"Attackers can bypass SSH private key verification during MFA-enabled public key authentication, allowing unauthorized access to the bastion host.","user_interaction":"required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"jumpserver","vendor":"fit2cloud"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-307","name":"Improper Restriction of Excessive Authentication Attempts"},{"id":"CWE-287","name":"Improper Authentication"}],"description":"JumpServer is an open source bastion host. When users enable MFA and use a public key for authentication, the Koko SSH server does not verify the corresponding SSH private key. An attacker could exploit a vulnerability by utilizing a disclosed public key to attempt brute-force authentication against the SSH service This issue has been patched in versions 3.6.5 and 3.5.6. Users are advised to upgrade. There are no known workarounds for this issue.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"SSH public key login without private key challenge if mfa is enabled in jumpserver","id":"CVE-2023-42818","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"Path traversal in Jumpserver","id":"CVE-2023-42819"},"packages":[{"ecosystem":"Go","fixed":["3.5.6+incompatible","3.6.5+incompatible"],"introduced":["0","3.6.0+incompatible"],"last_affected":[],"package":"github.com/jumpserver/jumpserver","purl":"pkg:golang/github.com/jumpserver/jumpserver","source":"GO-2025-3570"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/jumpserver/koko","purl":"pkg:golang/github.com/jumpserver/koko","source":"GO-2025-3570"}],"prev":{"headline":"Cross-site Scripting (XSS) in pimcore admin-ui-classic-bundle translations","id":"CVE-2023-42817"},"products":["jumpserver"],"published":"2023-09-27","related":[{"cvss_score":10,"headline":"Arbitrary File Read in Ansible Playbooks in Jumpserver","id":"CVE-2024-40628","kev_date_added":null,"published":"2024-07-18"},{"cvss_score":10,"headline":"Arbitrary File Write in Ansible Playbooks leads to RCE in Jumpserver","id":"CVE-2024-40629","kev_date_added":null,"published":"2024-07-18"},{"cvss_score":10,"headline":"JumpServer's insecure Ansible playbook validation leads to RCE in Celery","id":"CVE-2024-29201","kev_date_added":null,"published":"2024-03-29"},{"cvss_score":10,"headline":"JumpServer vulnerable to Jinja2 template injection in Ansible leads to RCE in Celery","id":"CVE-2024-29202","kev_date_added":null,"published":"2024-03-29"},{"cvss_score":9.8,"headline":"Security feature bypass in n/a","id":"CVE-2023-48193","kev_date_added":null,"published":"2023-11-28"},{"cvss_score":9.6,"headline":"JumpServer Connection Token Leak Vulnerability","id":"CVE-2025-62712","kev_date_added":null,"published":"2025-10-30"},{"cvss_score":8.9,"headline":"Path traversal in Jumpserver","id":"CVE-2023-42819","kev_date_added":null,"published":"2023-09-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-25","vendors":["jumpserver"]},"summary":"Attackers can bypass SSH private key verification during MFA-enabled public key authentication, allowing unauthorized access to the bastion host.","url":"https://insights.sbomify.com/CVE-2023-42818/"}