{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-21598","assignerOrgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","state":"PUBLISHED","assignerShortName":"juniper","dateReserved":"2024-12-26T14:47:11.669Z","datePublished":"2025-01-09T18:16:32.549Z","dateUpdated":"2025-01-09T20:15:00.238Z"},"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","modules":["BGP Traceoptions","BGP","RPD"],"packageName":"RPD","product":"Junos OS","vendor":"Juniper Networks","versions":[{"lessThan":"21.2R3-S9","status":"affected","version":"21.2R3-S8","versionType":"semver"},{"lessThan":"21.4R3-S9","status":"affected","version":"21.4R3-S7","versionType":"semver"},{"lessThan":"22.2R3-S5","status":"affected","version":"22.2R3-S4","versionType":"semver"},{"lessThan":"22.3R3-S4","status":"affected","version":"22.3R3-S2","versionType":"semver"},{"lessThan":"22.4R3-S5","status":"affected","version":"22.4R3","versionType":"semver"},{"lessThan":"23.2R2-S2","status":"affected","version":"23.2R2","versionType":"semver"},{"lessThan":"23.4R2-S1","status":"affected","version":"23.4R1","versionType":"semver"},{"lessThan":"24.2R1-S1, 24.2R2","status":"affected","version":"24.2R1","versionType":"semver"}]},{"defaultStatus":"unaffected","product":"Junos OS Evolved","vendor":"Juniper Networks","versions":[{"lessThan":"21.4R3-S9-EVO","status":"affected","version":"21.4R3-S7-EVO","versionType":"se"},{"lessThan":"22.2R3-S5-EVO","status":"affected","version":"22.2R3-S4-EVO","versionType":"semver"},{"lessThan":"22.3R3-S4-EVO","status":"affected","version":"22.3R3-S2-EVO","versionType":"semver"},{"lessThan":"22.4R3-S5-EVO","status":"affected","version":"22.4R3-EVO","versionType":"semver"},{"lessThan":"23.2R2-S2-EVO","status":"affected","version":"23.2R2-EVO","versionType":"semver"},{"lessThan":"23.4R2-S1-EVO","status":"affected","version":"23.4R1-EVO","versionType":"semver"},{"lessThan":"24.2R1-S2-EVO, 24.2R2-EVO","status":"affected","version":"24.2R1-EVO","versionType":"semver"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"This issue can occur when bgp trace options are enabled at global, group, or neighbor-level.<br><br>The following global example is provided:<br>&nbsp; [protocols bgp traceoptions flag update detail]<br>or<br>&nbsp; [protocols bgp traceoptions flag receive detail]<br>and<br>&nbsp; [protocols bgp traceoptions flag update detail]<br>&nbsp; [protocols bgp traceoptions flag receive detail]<br><br>The following neighbor-level example is provided:<br>&nbsp; [protocols bgp group test neighbor 192.168.1.1 traceoptions flag update detail]<br>&nbsp; [protocols bgp group test neighbor 192.168.1.1 traceoptions flag receive detail]<br><br>Refer to your product documentation for other examples and configurations."}],"value":"This issue can occur when bgp trace options are enabled at global, group, or neighbor-level.\n\nThe following global example is provided:\n  [protocols bgp traceoptions flag update detail]\nor\n  [protocols bgp traceoptions flag receive detail]\nand\n  [protocols bgp traceoptions flag update detail]\n  [protocols bgp traceoptions flag receive detail]\n\nThe following neighbor-level example is provided:\n  [protocols bgp group test neighbor 192.168.1.1 traceoptions flag update detail]\n  [protocols bgp group test neighbor 192.168.1.1 traceoptions flag receive detail]\n\nRefer to your product documentation for other examples and configurations."}],"datePublic":"2025-01-08T17:00:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<span style=\"background-color: var(--wht);\"><span style=\"background-color: rgb(255, 255, 255);\">An&nbsp;Out-of-bounds Read vulnerability in Juniper Networks Junos OS and Junos OS Evolved's routing protocol daemon (rpd) allows an unauthenticated, network-based attacker to send&nbsp;malformed BGP packets to a device configured with packet receive trace options enabled to crash rpd.</span></span><span style=\"background-color: var(--wht);\"><span style=\"background-color: rgb(255, 255, 255);\"><br></span></span><p>This issue affects:</p><p>Junos OS:&nbsp;</p><p></p><ul><li>from 21.2R3-S8 before 21.2R3-S9,&nbsp;</li><li>from 21.4R3-S7 before 21.4R3-S9,&nbsp;</li><li>from 22.2R3-S4 before 22.2R3-S5,&nbsp;</li><li>from 22.3R3-S2 before 22.3R3-S4,&nbsp;</li><li>from 22.4R3 before 22.4R3-S5,&nbsp;</li><li>from 23.2R2 before 23.2R2-S2,&nbsp;</li><li>from 23.4R1 before 23.4R2-S1,&nbsp;</li><li>from 24.2R1 before 24.2R1-S1, 24.2R2.</li></ul>Junos OS Evolved:<br><ul><li>from 21.4R3-S7-EVO before 21.4R3-S9-EVO,&nbsp;</li><li>from 22.2R3-S4-EVO before 22.2R3-S5-EVO,&nbsp;</li><li>from 22.3R3-S2-EVO before 22.3R3-S4-EVO,&nbsp;</li><li>from 22.4R3-EVO before 22.4R3-S5-EVO,&nbsp;</li><li>from 23.2R2-EVO before 23.2R2-S2-EVO,&nbsp;</li><li>from 23.4R1-EVO before 23.4R2-S1-EVO,&nbsp;</li><li>from 24.2R1-EVO before 24.2R1-S2-EVO, 24.2R2-EVO.</li></ul><span style=\"background-color: var(--wht);\"><span style=\"background-color: rgb(255, 255, 255);\">This issue requires a BGP session to be established.<br><br>This issue can propagate and multiply through multiple ASes until reaching vulnerable devices.<br><br>This issue affects iBGP and eBGP.<br><br>This issue affects IPv4 and IPv6.<br></span></span><span style=\"background-color: var(--wht);\"><span style=\"background-color: rgb(255, 255, 255);\"><br>An indicator of compromise may be the presence of malformed update messages in a neighboring AS which is unaffected by this issue:<br><br>For example, by issuing the command on the neighboring device:<br>&nbsp;show log messages<br><br>Reviewing for similar messages from devices within proximity to each other may indicate this malformed packet is propagating:<br>&nbsp; rpd[&lt;pid&gt;]: Received malformed update from &lt;IP address&gt; (External AS &lt;AS#&gt;)<br>and<br>&nbsp; rpd[&lt;pid&gt;]: Malformed Attribute</span></span><br><p></p>"}],"value":"An Out-of-bounds Read vulnerability in Juniper Networks Junos OS and Junos OS Evolved's routing protocol daemon (rpd) allows an unauthenticated, network-based attacker to send malformed BGP packets to a device configured with packet receive trace options enabled to crash rpd.\nThis issue affects:\n\nJunos OS: \n\n\n\n  *  from 21.2R3-S8 before 21.2R3-S9, \n  *  from 21.4R3-S7 before 21.4R3-S9, \n  *  from 22.2R3-S4 before 22.2R3-S5, \n  *  from 22.3R3-S2 before 22.3R3-S4, \n  *  from 22.4R3 before 22.4R3-S5, \n  *  from 23.2R2 before 23.2R2-S2, \n  *  from 23.4R1 before 23.4R2-S1, \n  *  from 24.2R1 before 24.2R1-S1, 24.2R2.\n\n\nJunos OS Evolved:\n  *  from 21.4R3-S7-EVO before 21.4R3-S9-EVO, \n  *  from 22.2R3-S4-EVO before 22.2R3-S5-EVO, \n  *  from 22.3R3-S2-EVO before 22.3R3-S4-EVO, \n  *  from 22.4R3-EVO before 22.4R3-S5-EVO, \n  *  from 23.2R2-EVO before 23.2R2-S2-EVO, \n  *  from 23.4R1-EVO before 23.4R2-S1-EVO, \n  *  from 24.2R1-EVO before 24.2R1-S2-EVO, 24.2R2-EVO.\n\n\nThis issue requires a BGP session to be established.\n\nThis issue can propagate and multiply through multiple ASes until reaching vulnerable devices.\n\nThis issue affects iBGP and eBGP.\n\nThis issue affects IPv4 and IPv6.\n\nAn indicator of compromise may be the presence of malformed update messages in a neighboring AS which is unaffected by this issue:\n\nFor example, by issuing the command on the neighboring device:\n show log messages\n\nReviewing for similar messages from devices within proximity to each other may indicate this malformed packet is propagating:\n  rpd[<pid>]: Received malformed update from <IP address> (External AS <AS#>)\nand\n  rpd[<pid>]: Malformed Attribute"}],"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."}],"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":"YES","Recovery":"AUTOMATIC","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":8.2,"baseSeverity":"HIGH","privilegesRequired":"NONE","providerUrgency":"AMBER","subAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"CONCENTRATED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L/AU:Y/R:A/V:C/RE:M/U:Amber","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"MODERATE"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}]},{"descriptions":[{"description":"Denial of Service (DoS)","lang":"en"}]}],"providerMetadata":{"orgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","shortName":"juniper","dateUpdated":"2025-01-09T18:16:32.549Z"},"references":[{"tags":["vendor-advisory"],"url":"https://supportportal.juniper.net/JSA92867"},{"tags":["related"],"url":"https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/statement/traceoptions-edit-protocols-bgp.html"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"The following software releases have been updated to resolve this specific issue:<br><br>Junos OS: 21.2R3-S9, 21.4R3-S9, 22.2R3-S5, 22.3R3-S4, 22.4R3-S5, 23.2R2-S2, 23.4R2-S1, 24.2R1-S1, 24.2R2, 24.4R1, and all subsequent releases.<br><br>Junos OS Evolved: 21.4R3-S9-EVO, 22.2R3-S5-EVO, 22.3R3-S4-EVO, 22.4R3-S5-EVO, 23.2R2-S2-EVO, 23.4R2-S1-EVO, 24.2R1-S2-EVO, 24.2R2-EVO, 24.4R1-EVO, and all subsequent releases.<br><p></p>"}],"value":"The following software releases have been updated to resolve this specific issue:\n\nJunos OS: 21.2R3-S9, 21.4R3-S9, 22.2R3-S5, 22.3R3-S4, 22.4R3-S5, 23.2R2-S2, 23.4R2-S1, 24.2R1-S1, 24.2R2, 24.4R1, and all subsequent releases.\n\nJunos OS Evolved: 21.4R3-S9-EVO, 22.2R3-S5-EVO, 22.3R3-S4-EVO, 22.4R3-S5-EVO, 23.2R2-S2-EVO, 23.4R2-S1-EVO, 24.2R1-S2-EVO, 24.2R2-EVO, 24.4R1-EVO, and all subsequent releases."}],"source":{"advisory":"JSA92867","defect":["1821241"],"discovery":"USER"},"title":"Junos OS and Junos OS Evolved: When BGP traceoptions are configured, receipt of malformed BGP packets causes RPD to crash","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Disabling packet tracing options will work around this issue.<br><br>There are no other available workarounds for this issue.<br>"}],"value":"Disabling packet tracing options will work around this issue.\n\nThere are no other available workarounds for this issue."}],"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-01-09T20:14:41.822272Z","id":"CVE-2025-21598","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-01-09T20:15:00.238Z"}}]}}