CVE-2024-30407

[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. Due to hardcoded SSH host keys being present on the container, a PitM attacker can intercept SSH traffic without being detected.  This issue affects Juniper Networks JCNR: * All versions before 23.4. This issue affects Juniper Networks cRPD: * All versions before 23.4R1.

Remediation

Solution:

  • The following software releases have been updated to resolve this specific issue:  JCNR: 23.4, and all subsequent releases. cRPD: 23.4R1, and all subsequent releases.

Workaround:

  • Remove the hard coded keys using: "rm -rf /etc/ssh/ssh_host_*" and then run "ssh-keygen -A" to generate new host keys.

Category

9.2
CVSS
Severity: Critical
CVSS 4.0 •
CVSS 3.1 •
EPSS 0.15%
Vendor Advisory juniper.net Vendor Advisory juniper.net
Affected: Juniper Networks, Inc. cRPD
Affected: Juniper Networks, Inc. Juniper Cloud Native Router (JCNR)
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-30407?
CVE-2024-30407 has been scored as a critical severity vulnerability.
How to fix CVE-2024-30407?
To fix CVE-2024-30407: The following software releases have been updated to resolve this specific issue:  JCNR: 23.4, and all subsequent releases. cRPD: 23.4R1, and all subsequent releases.
Is CVE-2024-30407 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-30407 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-30407?
CVE-2024-30407 affects Juniper Networks, Inc. cRPD, Juniper Networks, Inc. Juniper Cloud Native Router (JCNR).
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.