{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-30407 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-30407 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-30407 is a critical vulnerability in Juniper Cloud Native Router (JCNR), published on 12 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-30407 and fix it if it is affected.\n\nWhat it is: CVE-2024-30407 is a critical vulnerability in Juniper Cloud Native Router (JCNR), published on 12 Apr 2024. 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-2024-30407 in the wild and no public exploit code.\n\nAffected product: Juniper Cloud Native Router (JCNR). 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-30407/ (Markdown: https://insights.sbomify.com/CVE-2024-30407/index.md)","id":"CVE-2024-30407","markdown":"https://insights.sbomify.com/CVE-2024-30407/index.md","name":"CVE-2024-30407","record":{"aliases":["GHSA-wp5q-4qc3-582g"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["security_bypass","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Juniper Cloud Native Router","requires_auth":"none","summary":"Hardcoded SSH host keys in Juniper JCNR and cRPD allow attackers to perform Person-in-the-Middle attacks, leading to complete container compromise.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"juniper","cpe":[],"cvss":{"score":9.2,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-321","name":"Use of Hard-coded Cryptographic Key"}],"description":"The Use of a Hard-coded Cryptographic Key vulnerability in Juniper Networks Juniper Cloud Native Router (JCNR) and containerized routing Protocol Deamon (cRPD) products allows an attacker to perform Person-in-the-Middle (PitM) attacks which results in complete compromise of the container. \n\nDue to hardcoded SSH host keys being present on the container, a PitM attacker can intercept SSH traffic without being detected. \n\nThis issue affects Juniper Networks JCNR:\n  *  All versions before 23.4.\n\nThis issue affects Juniper Networks cRPD:\n  *  All versions before 23.4R1.","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":"[Child CVE] JCNR and cRPD: Hard-coded SSH host keys in cRPD may allow Person-in-the-Middle (PitM) attacks","id":"CVE-2024-30407","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"hardcoded_credentials","year":"2024"},"n_packages":0,"n_references":3,"next":{"headline":"Junos OS and Junos OS Evolved: Higher CPU consumption on routing engine leads to Denial of Service (DoS).","id":"CVE-2024-30409"},"packages":[],"prev":{"headline":"Information disclosure in Junos OS Evolved","id":"CVE-2024-30406"},"products":["Juniper Cloud Native Router (JCNR)","cRPD"],"published":"2024-04-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-02","vendors":["Juniper Networks, Inc."]},"summary":"Hardcoded SSH host keys in Juniper JCNR and cRPD allow attackers to perform Person-in-the-Middle attacks, leading to complete container compromise.","url":"https://insights.sbomify.com/CVE-2024-30407/"}