{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-42820 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-42820 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-42820 is a high-severity vulnerability in jumpserver, published on 26 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-42820 and fix it if it is affected.\n\nWhat it is: CVE-2023-42820 is a high-severity vulnerability in jumpserver, published on 26 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-42820 in the wild and no public exploit code.\n\nAffected product: jumpserver. 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-42820/ (Markdown: https://insights.sbomify.com/CVE-2023-42820/index.md)","id":"CVE-2023-42820","markdown":"https://insights.sbomify.com/CVE-2023-42820/index.md","name":"CVE-2023-42820","record":{"aliases":["GHSA-7prv-g565-82qp"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Bastion host","requires_auth":"none","summary":"Attackers can leak random seeds to replay verification codes and reset passwords, affecting users with local authentication and no MFA.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"jumpserver","vendor":"fit2cloud"}],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"JumpServer is an open source bastion host. This vulnerability is due to exposing the random number seed to the API, potentially allowing the randomly generated verification codes to be replayed, which could lead to password resets. If MFA is enabled users are not affect. Users not using local authentication are also not affected. Users are advised to upgrade to either version 2.28.19 or to 3.6.5. There are no known workarounds or this issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2023-10-10","github_poc":2,"max_poc_stars":57,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-10-10T06:32:51Z","kind":"github_poc","ref":"https://github.com/C1ph3rX13/CVE-2023-42820","stars":57,"title":"CVE-2023-42820"},{"date":"2023-10-11T03:15:30Z","kind":"github_poc","ref":"https://github.com/Startr4ck/cve-2023-42820","stars":2,"title":"JumpServer "}],"tier":"poc_unverified"},"has_fix":false,"headline":"Random seed leakage in Jumpserver","id":"CVE-2023-42820","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":"github.com/gomarkdown/markdown Out-of-bounds Read while parsing citations","id":"CVE-2023-42821"},"packages":[],"prev":{"headline":"Path traversal in Jumpserver","id":"CVE-2023-42819"},"products":["jumpserver"],"published":"2023-09-26","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":"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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-23","vendors":["jumpserver"]},"summary":"Attackers can leak random seeds to replay verification codes and reset passwords, affecting users with local authentication and no MFA.","url":"https://insights.sbomify.com/CVE-2023-42820/"}