{"id":"CVE-2024-21598","aliases":["CVE-2024-21598"],"related":[],"kind":"vulnerability","state":"published","title":"Junos OS and Junos OS Evolved: A malformed BGP tunnel encapsulation attribute will lead to an rpd crash","summary":"An Improper Validation of Syntactic Correctness of Input vulnerability in the Routing Protocol Daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows a network-based, unauthenticated attacker to cause a Denial of Service (DoS).\n\nIf a BGP update is received over an established BGP session which contains a tunnel encapsulation attribute with a specifically malformed TLV, rpd will crash and restart.\n\nThis issue affects Juniper Networks\nJunos OS:\n  *  20.4 versions 20.4R1 and later 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.4R3;\n  *  23.2 versions earlier than 23.2R1-S2, 23.2R2;\n\n\n\nJunos OS Evolved:\n  *  20.4-EVO versions 20.4R1-EVO and later versions earlier than 20.4R3-S9-EVO;\n  *  21.2-EVO versions earlier than 21.2R3-S7-EVO;\n  *  21.3-EVO versions earlier than 21.3R3-S5-EVO;\n  *  21.4-EVO versions earlier than 21.4R3-S5-EVO;\n  *  22.1-EVO versions earlier than 22.1R3-S4-EVO;\n  *  22.2-EVO versions earlier than 22.2R3-S3-EVO;\n  *  22.3-EVO versions earlier than 22.3R3-S1-EVO;\n  *  22.4-EVO versions earlier than 22.4R3-EVO;\n  *  23.2-EVO versions earlier than 23.2R1-S2-EVO, 23.2R2-EVO;\n\n\n\nThis issue does not affect Juniper Networks\n  *  Junos OS versions earlier than 20.4R1;\n  *  Junos OS Evolved versions earlier than 20.4R1-EVO.\n\n\n\nThis is a related but separate issue than the one described in JSA79095.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An Improper Validation of Syntactic Correctness of Input vulnerability in the Routing Protocol Daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows a network-based, unauthenticated attacker to cause a Denial of Service (DoS).\n\nIf a BGP update is received over an established BGP session which contains a tunnel encapsulation attribute with a specifically malformed TLV, rpd will crash and restart.\n\nThis issue affects Juniper Networks\nJunos OS:\n  *  20.4 versions 20.4R1 and later 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.4R3;\n  *  23.2 versions earlier than 23.2R1-S2, 23.2R2;\n\n\n\nJunos OS Evolved:\n  *  20.4-EVO versions 20.4R1-EVO and later versions earlier than 20.4R3-S9-EVO;\n  *  21.2-EVO versions earlier than 21.2R3-S7-EVO;\n  *  21.3-EVO versions earlier than 21.3R3-S5-EVO;\n  *  21.4-EVO versions earlier than 21.4R3-S5-EVO;\n  *  22.1-EVO versions earlier than 22.1R3-S4-EVO;\n  *  22.2-EVO versions earlier than 22.2R3-S3-EVO;\n  *  22.3-EVO versions earlier than 22.3R3-S1-EVO;\n  *  22.4-EVO versions earlier than 22.4R3-EVO;\n  *  23.2-EVO versions earlier than 23.2R1-S2-EVO, 23.2R2-EVO;\n\n\n\nThis issue does not affect Juniper Networks\n  *  Junos OS versions earlier than 20.4R1;\n  *  Junos OS Evolved versions earlier than 20.4R1-EVO.\n\n\n\nThis is a related but separate issue than the one described in JSA79095.","source":"cvelist"},{"lang":"es","text":"Una validación inadecuada de la vulnerabilidad de corrección sintáctica de entrada en el daemon de protocolo de enrutamiento (rpd) de Juniper Networks Junos OS y Junos OS Evolved permite que un atacante no autenticado basado en red provoque una denegación de servicio (DoS). Si se recibe una actualización de BGP a través de una sesión BGP establecida que contiene un atributo de encapsulación de túnel con un TLV específicamente mal formado, rpd fallará y se reiniciará. Este problema afecta a Juniper Networks Junos OS: * 20.4 versiones 20.4R1 y versiones posteriores anteriores a 20.4R3-S9; * Versiones 21.2 anteriores a 21.2R3-S7; * Versiones 21.3 anteriores a 21.3R3-S5; * Versiones 21.4 anteriores a 21.4R3-S5; * Versiones 22.1 anteriores a 22.1R3-S4; * Versiones 22.2 anteriores a 22.2R3-S3; * Versiones 22.3 anteriores a 22.3R3-S1; * Versiones 22.4 anteriores a 22.4R3; * Versiones 23.2 anteriores a 23.2R1-S2, 23.2R2; Junos OS Evolved: * 20.4-EVO versiones 20.4R1-EVO y versiones posteriores anteriores a 20.4R3-S9-EVO; * Versiones 21.2-EVO anteriores a 21.2R3-S7-EVO; * Versiones 21.3-EVO anteriores a 21.3R3-S5-EVO; * Versiones 21.4-EVO anteriores a 21.4R3-S5-EVO; * Versiones 22.1-EVO anteriores a 22.1R3-S4-EVO; * Versiones 22.2-EVO anteriores a 22.2R3-S3-EVO; * Versiones 22.3-EVO anteriores a 22.3R3-S1-EVO; * Versiones 22.4-EVO anteriores a 22.4R3-EVO; * Versiones 23.2-EVO anteriores a 23.2R1-S2-EVO, 23.2R2-EVO; Este problema no afecta a Juniper Networks * versiones de Junos OS anteriores a 20.4R1; * Versiones de Junos OS Evolved anteriores a 20.4R1-EVO. Este es un problema relacionado pero independiente del descrito en JSA79095.","source":"nvd"}],"published":"2024-04-12T14:54:23.761Z","modified":"2026-06-17T07:09:47.837Z","severity":{"scorer":"juniper","scheme":"CVSS: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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"juniper","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"juniper","scheme":"CVSS: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","score":8.7,"rating":"HIGH"}],"cwes":["CWE-1286"],"affected":[{"ranges":[{"type":"semver","introduced":"20.4","fixed":"20.4R3-S9","status":"affected"},{"type":"semver","introduced":"21.2","fixed":"21.2R3-S7","status":"affected"},{"type":"semver","introduced":"21.3","fixed":"21.3R3-S5","status":"affected"},{"type":"semver","introduced":"21.4","fixed":"21.4R3-S5","status":"affected"},{"type":"semver","introduced":"22.1","fixed":"22.1R3-S4","status":"affected"},{"type":"semver","introduced":"22.2","fixed":"22.2R3-S3","status":"affected"},{"type":"semver","introduced":"22.3","fixed":"22.3R3-S1","status":"affected"},{"type":"semver","introduced":"22.4","fixed":"22.4R3","status":"affected"},{"type":"semver","introduced":"23.2","fixed":"23.2R1-S2, 23.2R2","status":"affected"}],"vendor":"Juniper Networks","product":"Junos OS","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"20.4-EVO","fixed":"20.4R3-S9-EVO","status":"affected"},{"type":"semver","introduced":"21.2-EVO","fixed":"21.2R3-S7-EVO","status":"affected"},{"type":"semver","introduced":"21.3-EVO","fixed":"21.3R3-S5-EVO","status":"affected"},{"type":"semver","introduced":"21.4-EVO","fixed":"21.4R3-S5-EVO","status":"affected"},{"type":"semver","introduced":"22.1-EVO","fixed":"22.1R3-S4-EVO","status":"affected"},{"type":"semver","introduced":"22.2-EVO","fixed":"22.2R3-S3-EVO","status":"affected"},{"type":"semver","introduced":"22.3-EVO","fixed":"22.3R3-S1-EVO","status":"affected"},{"type":"semver","introduced":"22.4-EVO","fixed":"22.4R3-EVO","status":"affected"},{"type":"semver","introduced":"23.2-EVO","fixed":"23.2R1-S2-EVO, 23.2R2-EVO","status":"affected"}],"vendor":"Juniper Networks","product":"Junos OS Evolved","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"20.4","fixed":"20.4r3-s9","status":"affected"},{"type":"custom","introduced":"21.2","fixed":"21.2r3-s7","status":"affected"},{"type":"custom","introduced":"21.3","fixed":"21.3r3-s5","status":"affected"},{"type":"custom","introduced":"21.4","fixed":"21.4r3-s5","status":"affected"},{"type":"custom","introduced":"22.1","fixed":"22.1r3-s4","status":"affected"},{"type":"custom","introduced":"22.2","fixed":"22.2r3-s3","status":"affected"},{"type":"custom","introduced":"22.3","fixed":"22.3r3-s1","status":"affected"},{"type":"custom","introduced":"22.4","fixed":"22.4r3","status":"affected"},{"type":"custom","introduced":"23.2","fixed":"23.2r1-s2","status":"affected"}],"vendor":"juniper_networks","product":"junos_os","cpe":"cpe:2.3:o:juniper_networks:junos_os:20.4:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"20.4","fixed":"20.4r3-s9","status":"affected"},{"type":"custom","introduced":"21.2","fixed":"21.2r3-s7","status":"affected"},{"type":"custom","introduced":"21.3","fixed":"21.3r3-s5","status":"affected"},{"type":"custom","introduced":"21.4","fixed":"21.4r3-s4","status":"affected"},{"type":"custom","introduced":"22.1","fixed":"22.1r3-s4","status":"affected"},{"type":"custom","introduced":"22.2","fixed":"22.2r3-s3","status":"affected"}],"vendor":"juniper","product":"junos_os_evolved","cpe":"cpe:2.3:o:juniper:junos_os_evolved:22.3:-:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"}],"vendor":"juniper","product":"junos","cpe":"cpe:2.3:o:juniper:junos:20.4:r1:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.3"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"}],"vendor":"juniper","product":"junos_os_evolved","cpe":"cpe:2.3:o:juniper:junos_os_evolved:20.4:r1:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"http://supportportal.juniper.net/JSA75739","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"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":["not-applicable","technical-description","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Juniper SIRT would like to acknowledge and thank Matteo Memelli from Amazon for responsibly reporting this vulnerability."],"assigner":"juniper","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-04-12T18:02:57.570Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21598","url":"https://www.cve.org/CVERecord?id=CVE-2024-21598","licence":"CVE Terms of Use","modified":"2024-08-01T22:27:36.007Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21598","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21598","licence":"Public domain","modified":"2026-06-17T07:09:47.837Z"}],"updatedAt":"2026-11-25T22:58:39.133Z","epss":{"score":0.00571,"percentile":0.48622,"date":"2026-12-01T12:00:22.000Z"}}