{"id":"CVE-2024-30407","state":"PUBLISHED","title":"[Child CVE] JCNR and cRPD: Hard-coded SSH host keys in cRPD may allow Person-in-the-Middle (PitM) attacks","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\n\nThis issue affects Juniper Networks cRPD:\n  *  All versions before 23.4R1.","publishedAt":"2024-04-12T15:03:40.856Z","updatedAt":"2024-08-02T01:32:07.279Z","severity":{"score":9.2,"label":"Critical","version":"4.0","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","source":"juniper"},"assigner":"juniper","products":["Juniper Networks, Inc. cRPD","Juniper Networks, Inc. Juniper Cloud Native Router (JCNR)"],"affected":[{"vendor":"Juniper Networks, Inc.","product":"cRPD","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"23.4R1","versionType":"semver"}]},{"vendor":"Juniper Networks, Inc.","product":"Juniper Cloud Native Router (JCNR)","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"23.4","versionType":"semver"}]}],"references":["https://supportportal.juniper.net/JSA79106","https://supportportal.juniper.net/JSA79107","https://www.first.org/cvss/calculator/4.0#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"],"weaknesses":["CWE-321"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/30xxx/CVE-2024-30407.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-30407","state":"PUBLISHED","datePublished":"2024-04-12T15:03:40.856Z","dateUpdated":"2024-08-02T01:32:07.279Z","assignerShortName":"juniper","assignerOrgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateReserved":"2024-03-26T23:06:19.981Z"},"containers":{"cna":{"title":"[Child CVE] JCNR and cRPD: Hard-coded SSH host keys in cRPD may allow Person-in-the-Middle (PitM) attacks","descriptions":[{"lang":"en","value":"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\n\nThis issue affects Juniper Networks cRPD:\n  *  All versions before 23.4R1."}],"affected":[{"vendor":"Juniper Networks, Inc.","product":"cRPD","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"23.4R1","versionType":"semver"}]},{"vendor":"Juniper Networks, Inc.","product":"Juniper Cloud Native Router (JCNR)","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"23.4","versionType":"semver"}]}],"references":[{"url":"https://supportportal.juniper.net/JSA79106","tags":["vendor-advisory"]},{"url":"https://supportportal.juniper.net/JSA79107","tags":["vendor-advisory"]},{"url":"https://www.first.org/cvss/calculator/4.0#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","tags":["technical-description"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]},{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":9.2,"baseSeverity":"CRITICAL","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-321","description":"CWE-321 Use of Hard-coded Cryptographic Key","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"juniper","orgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateUpdated":"2024-05-16T20:45:00.505Z"},"datePublic":"2024-04-10T16:00:00.000Z","exploits":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Juniper SIRT is not aware of any malicious exploitation of this vulnerability.</p>"}],"value":"Juniper SIRT is not aware of any malicious exploitation of this vulnerability."}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>The following software releases have been updated to resolve this specific issue:&nbsp;</p><p>JCNR: 23.4, and all subsequent releases.</p><p>cRPD: 23.4R1, and all subsequent releases.<br><br></p>"}],"value":"The following software releases have been updated to resolve this specific issue: \n\nJCNR: 23.4, and all subsequent releases.\n\ncRPD: 23.4R1, and all subsequent releases."}],"source":{"advisory":"JSA79106 JSA79107","defect":["1698624"],"discovery":"INTERNAL"},"timeline":[{"lang":"en","time":"2024-04-10T16:00:00.000Z","value":"Initial Publication"}],"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Remove the hard coded keys using:</p><code>  &quot;rm -rf /etc/ssh/ssh_host_*&quot; </code><br/><p>and then run </p><code>  &quot;ssh-keygen -A&quot; </code><br/><p>to generate new host keys.</p>"}],"value":"Remove the hard coded keys using:\n\n  \"rm -rf /etc/ssh/ssh_host_*\" \nand then run \n\n  \"ssh-keygen -A\" \nto generate new host keys."}],"x_generator":{"engine":"Vulnogram 0.1.0-av217"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"juniper","product":"cloud_native_router","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"23.4","versionType":"semver"}],"cpes":["cpe:2.3:h:juniper:cloud_native_router:*:*:*:*:*:*:*:*"]},{"vendor":"juniper","product":"crpd","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"23.4r1","versionType":"semver"}],"cpes":["cpe:2.3:a:juniper:crpd:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-05-22T17:16:37.125801Z","id":"CVE-2024-30407","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-06T16:14:18.691Z"}},{"title":"CVE Program Container","references":[{"url":"https://supportportal.juniper.net/JSA79106","tags":["vendor-advisory","x_transferred"]},{"url":"https://supportportal.juniper.net/JSA79107","tags":["vendor-advisory","x_transferred"]},{"url":"https://www.first.org/cvss/calculator/4.0#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","tags":["technical-description","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T01:32:07.279Z"}}]}}}