{"id":"CVE-2024-39516","state":"PUBLISHED","title":"Junos OS and Junos OS Evolved: With certain BGP options enabled, receipt of specifically malformed BGP update causes RPD crash","description":"An Out-of-Bounds Read vulnerability in\n\nthe routing protocol daemon (rpd) of \n\n Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated network-based attacker sending a specifically malformed BGP packet to cause rpd to crash and restart, resulting in a Denial of Service (DoS). Continued receipt and processing of this packet will create a sustained Denial of Service (DoS) condition.\n\n\nThis issue only affects systems configured in\n      either of two ways:\n\n    \n    \n        *  systems with BGP traceoptions enabled\n\n        *  systems with BGP traffic engineering\n          configured\n\n    \n\n\nThis issue can affect iBGP and eBGP with \n\nany address family\n\n configured. The specific attribute involved is non-transitive, and will not propagate across a network.\n\nThis issue affects:\n\nJunos OS: \n\n\n\n  *  All versions before 21.4R3-S8,\n  *  22.2 before 22.2R3-S5, \n  *  22.3 before 22.3R3-S4, \n  *  22.4 before 22.4R3-S3, \n  *  23.2 before 23.2R2-S2, \n  *  23.4 before 23.4R2; \n\n\n\n\nJunos OS Evolved: \n\n\n\n  *  All versions before 21.4R3-S8-EVO, \n  *  22.2-EVO before 22.2R3-S5-EVO, \n  *  22.3-EVO before 22.3R3-S4-EVO, \n  *  22.4-EVO before 22.4R3-S3-EVO, \n  *  23.2-EVO before 23.2R2-S2-EVO, \n  *  23.4-EVO before 23.4R2-EVO.","publishedAt":"2024-10-09T20:00:59.383Z","updatedAt":"2024-10-16T21:11:11.721Z","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":"21.4R3-S8","versionType":"semver"},{"version":"22.2","status":"affected","lessThan":"22.2R3-S5","versionType":"semver"},{"version":"22.3","status":"affected","lessThan":"22.3R3-S4","versionType":"semver"},{"version":"22.4","status":"affected","lessThan":"22.4R3-S3","versionType":"semver"},{"version":"23.2","status":"affected","lessThan":"23.2R2-S2","versionType":"semver"},{"version":"23.4","status":"affected","lessThan":"23.4R2","versionType":"semver"}]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"21.4R3-S8-EVO","versionType":"semver"},{"version":"22.2-EVO","status":"affected","lessThan":"22.2R3-S5-EVO","versionType":"semver"},{"version":"22.3-EVO","status":"affected","lessThan":"22.3R3-S4-EVO","versionType":"semver"},{"version":"22.4-EVO","status":"affected","lessThan":"22.4R3-S3-EVO","versionType":"semver"},{"version":"23.2-EVO","status":"affected","lessThan":"23.2R2-S2-EVO","versionType":"semver"},{"version":"23.4-EVO","status":"affected","lessThan":"23.4R2-EVO","versionType":"semver"}]}],"references":["https://supportportal.juniper.net/JSA88100","https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/statement/traceoptions-edit-protocols-bgp.html"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/39xxx/CVE-2024-39516.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-39516","state":"PUBLISHED","datePublished":"2024-10-09T20:00:59.383Z","dateUpdated":"2024-10-16T21:11:11.721Z","assignerShortName":"juniper","assignerOrgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateReserved":"2024-06-25T15:12:53.238Z"},"containers":{"cna":{"title":"Junos OS and Junos OS Evolved: With certain BGP options enabled, receipt of specifically malformed BGP update causes RPD crash","descriptions":[{"lang":"en","value":"An Out-of-Bounds Read vulnerability in\n\nthe routing protocol daemon (rpd) of \n\n Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated network-based attacker sending a specifically malformed BGP packet to cause rpd to crash and restart, resulting in a Denial of Service (DoS). Continued receipt and processing of this packet will create a sustained Denial of Service (DoS) condition.\n\n\nThis issue only affects systems configured in\n      either of two ways:\n\n    \n    \n        *  systems with BGP traceoptions enabled\n\n        *  systems with BGP traffic engineering\n          configured\n\n    \n\n\nThis issue can affect iBGP and eBGP with \n\nany address family\n\n configured. The specific attribute involved is non-transitive, and will not propagate across a network.\n\nThis issue affects:\n\nJunos OS: \n\n\n\n  *  All versions before 21.4R3-S8,\n  *  22.2 before 22.2R3-S5, \n  *  22.3 before 22.3R3-S4, \n  *  22.4 before 22.4R3-S3, \n  *  23.2 before 23.2R2-S2, \n  *  23.4 before 23.4R2; \n\n\n\n\nJunos OS Evolved: \n\n\n\n  *  All versions before 21.4R3-S8-EVO, \n  *  22.2-EVO before 22.2R3-S5-EVO, \n  *  22.3-EVO before 22.3R3-S4-EVO, \n  *  22.4-EVO before 22.4R3-S3-EVO, \n  *  23.2-EVO before 23.2R2-S2-EVO, \n  *  23.4-EVO before 23.4R2-EVO."}],"affected":[{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"21.4R3-S8","versionType":"semver"},{"version":"22.2","status":"affected","lessThan":"22.2R3-S5","versionType":"semver"},{"version":"22.3","status":"affected","lessThan":"22.3R3-S4","versionType":"semver"},{"version":"22.4","status":"affected","lessThan":"22.4R3-S3","versionType":"semver"},{"version":"23.2","status":"affected","lessThan":"23.2R2-S2","versionType":"semver"},{"version":"23.4","status":"affected","lessThan":"23.4R2","versionType":"semver"}]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"21.4R3-S8-EVO","versionType":"semver"},{"version":"22.2-EVO","status":"affected","lessThan":"22.2R3-S5-EVO","versionType":"semver"},{"version":"22.3-EVO","status":"affected","lessThan":"22.3R3-S4-EVO","versionType":"semver"},{"version":"22.4-EVO","status":"affected","lessThan":"22.4R3-S3-EVO","versionType":"semver"},{"version":"23.2-EVO","status":"affected","lessThan":"23.2R2-S2-EVO","versionType":"semver"},{"version":"23.4-EVO","status":"affected","lessThan":"23.4R2-EVO","versionType":"semver"}]}],"references":[{"url":"https://supportportal.juniper.net/JSA88100","tags":["vendor-advisory"]},{"url":"https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/statement/traceoptions-edit-protocols-bgp.html","tags":["product"]}],"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-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"juniper","orgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateUpdated":"2024-10-16T21:11:11.721Z"},"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"One of the following traceoptions configurations, either at the top level, under [logical-systems], or [routing-instances], is required to be potentially exposed to this issue:<br><br><tt>[protocols bgp traceoptions packets detail]<br>\n\n[protocols bgp traceoptions update detail]\n\n<br></tt>\n\n<tt>[protocols bgp group &lt;group-name&gt; traceoptions\n\n packets detail]<br></tt><tt>[protocols bgp group &lt;group-name&gt; traceoptions\n\n update detail]<br>\n\n<tt>[protocols bgp group &lt;group-name&gt; neighbor &lt;address&gt; traceoptions\n\n packets detail]</tt><br>\n\n[protocols bgp group &lt;group-name&gt; neighbor &lt;address&gt; traceoptions\n\n update detail]</tt><br>\n\n<br>Systems configured with BGP traffic engineering are also vulnerable to this issue:<br><br><tt>[protocols bgp group &lt;name&gt; family traffic-engineering unicast]</tt>"}],"value":"One of the following traceoptions configurations, either at the top level, under [logical-systems], or [routing-instances], is required to be potentially exposed to this issue:\n\n[protocols bgp traceoptions packets detail]\n\n\n[protocols bgp traceoptions update detail]\n\n\n\n\n[protocols bgp group <group-name> traceoptions\n\n packets detail]\n[protocols bgp group <group-name> traceoptions\n\n update detail]\n\n\n[protocols bgp group <group-name> neighbor <address> traceoptions\n\n packets detail]\n\n\n[protocols bgp group <group-name> neighbor <address> traceoptions\n\n update detail]\n\n\n\nSystems configured with BGP traffic engineering are also vulnerable to this issue:\n\n[protocols bgp group <name> family traffic-engineering unicast]"}],"credits":[{"lang":"en","type":"finder","value":"Juniper SIRT would like to acknowledge and thank Craig Dods from Meta’s Infrastructure Security Engineering team for responsibly reporting this vulnerability."}],"datePublic":"2024-10-09T16: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: 21.4R3-S8, 22.2R3-S5*, 22.3R3-S4*, 22.4R3-S3, 23.2R2-S2, 23.4R2, 24.2R1, and all subsequent releases.<br>Junos OS Evolved: 21.4R3-S8-EVO, 22.2R3-S5-EVO*, 22.3R3-S4-EVO*, 22.4R3-S3-EVO, 23.2R2-S2-EVO, 23.4R2-EVO, 24.2R1-EVO, 24.2R2-EVO, 24.4R1-EVO*, and all subsequent releases.<br><br>*Future release"}],"value":"The following software releases have been updated to resolve this specific issue: \nJunos OS: 21.4R3-S8, 22.2R3-S5*, 22.3R3-S4*, 22.4R3-S3, 23.2R2-S2, 23.4R2, 24.2R1, and all subsequent releases.\nJunos OS Evolved: 21.4R3-S8-EVO, 22.2R3-S5-EVO*, 22.3R3-S4-EVO*, 22.4R3-S3-EVO, 23.2R2-S2-EVO, 23.4R2-EVO, 24.2R1-EVO, 24.2R2-EVO, 24.4R1-EVO*, and all subsequent releases.\n\n*Future release"}],"source":{"advisory":"JSA88100","defect":["1815222"],"discovery":"EXTERNAL"},"timeline":[{"lang":"en","time":"2024-10-09T16:00:00.000Z","value":"Initial publication"},{"lang":"en","time":"2024-10-09T21:00:00.000Z","value":"Removed references to segment routing"},{"lang":"en","time":"2024-10-16T21:00:00.000Z","value":"Added additional detail that two specific scenarios are vulnerable to this issue"}],"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"If BGP traceoptions are enabled, and traffic engineering is not configured, disable BGP traceoptions if they are not being used for active troubleshooting."}],"value":"If BGP traceoptions are enabled, and traffic engineering is not configured, disable BGP traceoptions if they are not being used for active troubleshooting."}],"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"juniper","product":"junos","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"21.4R3-S8","versionType":"semver"},{"version":"22.2","status":"affected","lessThan":"22.2R3-S5","versionType":"semver"},{"version":"22.3","status":"affected","lessThan":"22.3R3-S4","versionType":"semver"},{"version":"22.4","status":"affected","lessThan":"22.4R3-S3","versionType":"semver"},{"version":"23.2","status":"affected","lessThan":"23.2R2-S2","versionType":"semver"},{"version":"23.4","status":"affected","lessThan":"23.4R2","versionType":"semver"}],"cpes":["cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:*"]},{"vendor":"juniper","product":"junos_os_evolved","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"21.4R3-S8","versionType":"semver"},{"version":"22.2","status":"affected","lessThan":"22.2R3-S5","versionType":"semver"},{"version":"22.3","status":"affected","lessThan":"22.3R3-S4","versionType":"semver"},{"version":"22.4","status":"affected","lessThan":"22.4R3-S3","versionType":"semver"},{"version":"23.2","status":"affected","lessThan":"23.2R2-S2","versionType":"semver"},{"version":"23.4","status":"affected","lessThan":"23.4R2","versionType":"semver"}],"cpes":["cpe:2.3:o:juniper:junos_os_evolved:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-09T20:56:09.097933Z","id":"CVE-2024-39516","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-09T21:02:39.235Z"}}]}}}