{"id":"CVE-2024-30382","state":"PUBLISHED","title":"Junos OS and Junos OS Evolved: RPD crash when CoS-based forwarding (CBF) policy is configured","description":"An Improper Handling of Exceptional Conditions vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows a network-based, unauthenticated attacker to send a specific routing update, causing an rpd core due to memory corruption, leading to a Denial of Service (DoS).\n\nThis issue can only be triggered when the system is configured for CoS-based forwarding (CBF) with a policy map containing a cos-next-hop-map action (see below).\nThis issue affects:\nJunos OS: \n\n\n  *  all versions before 20.4R3-S10, \n  *  from 21.2 before 21.2R3-S8,\n  *  from 21.3 before 21.3R3, \n  *  from 21.4 before 21.4R3, \n  *  from 22.1 before 22.1R2;\n\n\n\n\nJunos OS Evolved: \n\n\n  *  all versions before 21.2R3-S8-EVO,\n  *  from 21.3 before 21.3R3-EVO, \n  *  from 21.4 before 21.4R3-EVO, \n  *  from 22.1 before 22.1R2-EVO.","publishedAt":"2024-04-12T15:22:03.210Z","updatedAt":"2024-08-02T01:32:07.236Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L","source":"juniper"},"assigner":"juniper","products":["Juniper Networks Junos OS","Juniper Networks Junos OS Evolved"],"affected":[{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"20.4R3-S10","versionType":"semver"},{"version":"21.2","status":"affected","lessThan":"21.2R3-S8","versionType":"semver"},{"version":"21.3","status":"affected","lessThan":"21.3R3","versionType":"semver"},{"version":"21.4","status":"affected","lessThan":"21.4R3","versionType":"semver"},{"version":"22.1","status":"affected","lessThan":"22.1R2","versionType":"semver"}]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"21.2R3-S8-EVO","versionType":"semver"},{"version":"21.3","status":"affected","lessThan":"21.3R3-EVO","versionType":"semver"},{"version":"21.4","status":"affected","lessThan":"21.4R3-EVO","versionType":"semver"},{"version":"22.1","status":"affected","lessThan":"22.1R2-EVO","versionType":"semver"}]}],"references":["https://supportportal.juniper.net/JSA79174","https://www.first.org/cvss/calculator/4.0#CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L"],"weaknesses":["CWE-755"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/30xxx/CVE-2024-30382.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-30382","state":"PUBLISHED","datePublished":"2024-04-12T15:22:03.210Z","dateUpdated":"2024-08-02T01:32:07.236Z","assignerShortName":"juniper","assignerOrgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateReserved":"2024-03-26T23:06:12.474Z"},"containers":{"cna":{"title":"Junos OS and Junos OS Evolved: RPD crash when CoS-based forwarding (CBF) policy is configured","descriptions":[{"lang":"en","value":"An Improper Handling of Exceptional Conditions vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows a network-based, unauthenticated attacker to send a specific routing update, causing an rpd core due to memory corruption, leading to a Denial of Service (DoS).\n\nThis issue can only be triggered when the system is configured for CoS-based forwarding (CBF) with a policy map containing a cos-next-hop-map action (see below).\nThis issue affects:\nJunos OS: \n\n\n  *  all versions before 20.4R3-S10, \n  *  from 21.2 before 21.2R3-S8,\n  *  from 21.3 before 21.3R3, \n  *  from 21.4 before 21.4R3, \n  *  from 22.1 before 22.1R2;\n\n\n\n\nJunos OS Evolved: \n\n\n  *  all versions before 21.2R3-S8-EVO,\n  *  from 21.3 before 21.3R3-EVO, \n  *  from 21.4 before 21.4R3-EVO, \n  *  from 22.1 before 22.1R2-EVO."}],"affected":[{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"20.4R3-S10","versionType":"semver"},{"version":"21.2","status":"affected","lessThan":"21.2R3-S8","versionType":"semver"},{"version":"21.3","status":"affected","lessThan":"21.3R3","versionType":"semver"},{"version":"21.4","status":"affected","lessThan":"21.4R3","versionType":"semver"},{"version":"22.1","status":"affected","lessThan":"22.1R2","versionType":"semver"}]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"21.2R3-S8-EVO","versionType":"semver"},{"version":"21.3","status":"affected","lessThan":"21.3R3-EVO","versionType":"semver"},{"version":"21.4","status":"affected","lessThan":"21.4R3-EVO","versionType":"semver"},{"version":"22.1","status":"affected","lessThan":"22.1R2-EVO","versionType":"semver"}]}],"references":[{"url":"https://supportportal.juniper.net/JSA79174","tags":["vendor-advisory"]},{"url":"https://www.first.org/cvss/calculator/4.0#CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L","tags":["technical-description"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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":"NONE","attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-755","description":"CWE-755 Improper Handling of Exceptional Conditions","lang":"en","type":"CWE"}]},{"descriptions":[{"description":"Denial of Service (DoS)","lang":"en"}]}],"providerMetadata":{"shortName":"juniper","orgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateUpdated":"2024-05-16T18:01:47.966Z"},"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"The following is an example of CoS-based forwarding configuration:<br><br><tt>[edit policy-options]<br>set policy-statement my-cos-forwarding term 1 from route-filter destination-prefix match-type<br>set policy-statement my-cos-forwarding term 1 then <b>cos-next-hop-map</b> map-name</tt>"}],"value":"The following is an example of CoS-based forwarding configuration:\n\n[edit policy-options]\nset policy-statement my-cos-forwarding term 1 from route-filter destination-prefix match-type\nset policy-statement my-cos-forwarding term 1 then cos-next-hop-map map-name"}],"datePublic":"2024-04-10T16:00:00.000Z","exploits":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Juniper SIRT is not aware of any malicious exploitation of this vulnerability."}],"value":"Juniper SIRT is not aware of any malicious exploitation of this vulnerability."}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"The following software releases have been updated to resolve this specific issue: <br>Junos OS: 20.4R3-S10, 21.3R3, 21.4R3, 22.1R2, 22.2R1, and all subsequent releases.\n<br>Junos OS Evolved:&nbsp;&nbsp;21.3R3-EVO, 21.4R3-EVO, 22.1R2-EVO, 22.2R1-EVO, and all subsequent releases."}],"value":"The following software releases have been updated to resolve this specific issue: \nJunos OS: 20.4R3-S10, 21.3R3, 21.4R3, 22.1R2, 22.2R1, and all subsequent releases.\n\nJunos OS Evolved:  21.3R3-EVO, 21.4R3-EVO, 22.1R2-EVO, 22.2R1-EVO, and all subsequent releases."}],"source":{"advisory":"JSA79174","defect":["1640813"],"discovery":"INTERNAL"},"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>There are no known workarounds for this issue.</p>"}],"value":"There are no known workarounds for this issue."}],"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"juniper","product":"junos_os_evolved","defaultStatus":"unknown","versions":[{"version":"21.3","status":"affected","lessThan":"21.3R3-EVO","versionType":"custom"}],"cpes":["cpe:2.3:o:juniper:junos_os_evolved:21.3:-:*:*:*:*:*:*"]},{"vendor":"juniper","product":"junos_os_evolved","defaultStatus":"unknown","versions":[{"version":"21.4","status":"affected","lessThan":"21.4R3-EVO","versionType":"custom"}],"cpes":["cpe:2.3:o:juniper:junos_os_evolved:21.4:-:*:*:*:*:*:*"]},{"vendor":"juniper","product":"junos_os_evolved","defaultStatus":"unknown","versions":[{"version":"22.1","status":"affected","lessThan":"22.1R2-EVO","versionType":"custom"}],"cpes":["cpe:2.3:o:juniper:junos_os_evolved:22.1:-:*:*:*:*:*:*"]},{"vendor":"juniper","product":"junos","defaultStatus":"unknown","versions":[{"version":"21.2","status":"affected","lessThan":"21.2R3-S8","versionType":"custom"}],"cpes":["cpe:2.3:o:juniper:junos:21.2:-:*:*:*:*:*:*"]},{"vendor":"juniper","product":"junos","defaultStatus":"unknown","versions":[{"version":"21.3","status":"affected","lessThan":"21.3R3","versionType":"custom"}],"cpes":["cpe:2.3:o:juniper:junos:21.3:-:*:*:*:*:*:*"]},{"vendor":"juniper","product":"junos","defaultStatus":"unknown","versions":[{"version":"21.4","status":"affected","lessThan":"21.4R3","versionType":"custom"}],"cpes":["cpe:2.3:o:juniper:junos:21.4:-:*:*:*:*:*:*"]},{"vendor":"juniper","product":"junos","defaultStatus":"unknown","versions":[{"version":"22.1","status":"affected","lessThan":"22.1R2","versionType":"custom"}],"cpes":["cpe:2.3:o:juniper:junos:22.1:-:*:*:*:*:*:*"]},{"vendor":"juniper","product":"junos","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"20.4R3-S10","versionType":"custom"}],"cpes":["cpe:2.3:o:juniper:junos:-:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-30382","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-04-12T17:23:18.353034Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:39:41.914Z"}},{"title":"CVE Program Container","references":[{"url":"https://supportportal.juniper.net/JSA79174","tags":["vendor-advisory","x_transferred"]},{"url":"https://www.first.org/cvss/calculator/4.0#CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L","tags":["technical-description","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T01:32:07.236Z"}}]}}}