{"id":"CVE-2024-21585","published":"2024-01-12T00:50:59Z","modified":"2024-11-14T14:40:50Z","title":"Junos OS and Junos OS Evolved: BGP session flaps on NSR-enabled devices can cause rpd crash","vendor":"Juniper Networks","product":"Junos OS","tier":"tail","description":{"text":"\nAn Improper Handling of Exceptional Conditions vulnerability in BGP session processing of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated network-based attacker, using specific timing outside the attacker's control, to flap BGP sessions and cause the routing protocol daemon (rpd) process to crash and restart, leading to a Denial of Service (DoS) condition. Continued BGP session flapping will create a sustained Denial of Service (DoS) condition.\n\nThis issue only affects routers configured with non-stop routing (NSR) enabled. Graceful Restart (GR) helper mode, enabled by default, is also required for this issue to be exploitable.\n\n\nNote: NSR is not supported on the SRX Series and is therefore not affected by this vulnerability.\nWhen the BGP session flaps on the NSR-enabled router, the device enters GR-helper/LLGR-helper mode due to the peer having negotiated GR/LLGR-restarter capability and the backup BGP requests for replication of the GR/LLGR-helper session, master BGP schedules, and initiates replication of GR/LLGR stale routes to the backup BGP. In this state, if the BGP session with the BGP peer comes up again, unsolicited replication is initiated for the peer without cleaning up the ongoing GR/LLGR-helper mode replication. This parallel two instances of replication for the same peer leads to the assert if the BGP session flaps again.\n\nThis issue affects:\n\nJuniper Networks Junos OS\n\n\n\n  *  All versions earlier than 20.4R3-S9;\n  *  21.2 versions earlier than 21.2R3-S7;\n  *  21.3 versions earlier than 21.3R3-S5;\n  *  21.4 versions earlier than 21.4R3-S5;\n  *  22.1 versions earlier than 22.1R3-S4;\n  *  22.2 versions earlier than 22.2R3-S3;\n  *  22.3 versions earlier than 22.3R3-S1;\n  *  22.4 versions earlier than 22.4R2-S2, 22.4R3;\n  *  23.2 versions earlier than 23.2R1-S1, 23.2R2.\n\n\n\n\nJuniper Networks Junos OS Evolved\n\n\n\n  *  All versions earlier than 21.3R3-S5-EVO;\n  *  21.4 versions earlier than 21.4R3-S5-EVO;\n  *  22.1 versions earlier than 22.1R3-S4-EVO;\n  *  22.2 versions earlier than 22.2R3-S3-EVO;\n  *  22.3 versions earlier than 22.3R3-S1-EVO;\n  *  22.4 versions earlier than 22.4R2-S2-EVO, 22.4R3-EVO;\n  *  23.2 versions earlier than 23.2R1-S1-EVO, 23.2R2-EVO.\n\n\n\n\n\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00625,"percentile":0.50896,"provenance":"source"},"cwes":[{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"}],"references":[{"url":"https://supportportal.juniper.net/JSA75723","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:N/VI:N/VA:H/SC:N/SI:N/SA:L","tags":["technical-description"]},{"url":"https://supportportal.juniper.net/s/article/MX-GR-and-LLGR-capability-and-compatibility-changes-after-15-1-release","tags":["product"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":10.18},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"juniper","affectedVersions":[{"vendor":"Juniper Networks","product":"Junos OS","versions":["< 20.4R3-S9",">= 21.2, < 21.2R3-S7",">= 21.3, < 21.3R3-S5",">= 21.4, < 21.4R3-S5",">= 22.1, < 22.1R3-S4",">= 22.2, < 22.2R3-S3",">= 22.3, < 22.3R3-S1",">= 22.4, < 22.4R2-S2, 22.4R3",">= 23.2, < 23.2R1-S1, 23.2R2"]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","versions":["< 21.3R3-S5-EVO",">= 21.4, < 21.4R3-S5-EVO",">= 22.1, < 22.1R3-S4-EVO",">= 22.2, < 22.2R3-S3-EVO",">= 22.3, < 22.3R3-S1-EVO",">= 22.4, < 22.4R2-S2-EVO, 22.4R3-EVO",">= 23.2, < 23.2R1-S1-EVO, 23.2R2-EVO"]}],"solutions":{"items":["The following software releases have been updated to resolve this specific issue: Junos OS: 20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4, 22.2R3-S3, 22.3R3-S1, 22.4R2-S2, 22.4R3, 23.1R2, 23.2R1-S1, 23.2R2, 23.3R1, and all subsequent releases. Junos OS Evolved: 21.3R3-S5-EVO, 21.4R3-S5-EVO, 22.1R3-S4-EVO, 22.2R3-S3-EVO, 22.3R3-S1-EVO, 22.4R2-S2-EVO, 22.4R3-EVO, 23.1R2-EVO, 23.2R1-S1-EVO, 23.2R2-EVO, 23.3R1-EVO, and all subsequent releases."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Graceful Restart (GR) helper mode and Long-Lived Graceful Restart (LLGR) helper mode can be disabled to prevent this issue. [edit protocols bgp graceful-restart] disable; [edit protocols bgp graceful-restart long-lived receiver] disable;"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-14T14:40:34.207129Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-19233","exploited":false,"provenance":"source"}}