CVE-2024-21598
Junos OS and Junos OS Evolved: A malformed BGP tunnel encapsulation attribute will lead to an rpd crash
Description
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).
If 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.
This issue affects Juniper Networks Junos OS: * 20.4 versions 20.4R1 and later versions earlier than 20.4R3-S9; * 21.2 versions earlier than 21.2R3-S7; * 21.3 versions earlier than 21.3R3-S5; * 21.4 versions earlier than 21.4R3-S5; * 22.1 versions earlier than 22.1R3-S4; * 22.2 versions earlier than 22.2R3-S3; * 22.3 versions earlier than 22.3R3-S1; * 22.4 versions earlier than 22.4R3; * 23.2 versions earlier than 23.2R1-S2, 23.2R2;
Junos OS Evolved: * 20.4-EVO versions 20.4R1-EVO and later versions earlier than 20.4R3-S9-EVO; * 21.2-EVO versions earlier than 21.2R3-S7-EVO; * 21.3-EVO versions earlier than 21.3R3-S5-EVO; * 21.4-EVO versions earlier than 21.4R3-S5-EVO; * 22.1-EVO versions earlier than 22.1R3-S4-EVO; * 22.2-EVO versions earlier than 22.2R3-S3-EVO; * 22.3-EVO versions earlier than 22.3R3-S1-EVO; * 22.4-EVO versions earlier than 22.4R3-EVO; * 23.2-EVO versions earlier than 23.2R1-S2-EVO, 23.2R2-EVO;
This issue does not affect Juniper Networks * Junos OS versions earlier than 20.4R1; * Junos OS Evolved versions earlier than 20.4R1-EVO.
This is a related but separate issue than the one described in JSA79095.
Severity (CVSS)
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
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- none: an attack works without special conditions on the target
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality none, integrity none, availability high: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability low: what an attacker can read, change or stop beyond it
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.57%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 48.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 12 Apr 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-1286 Improper Validation of Syntactic Correctness of Input
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Junos OS |
affected from 20.4, before 20.4R3-S9 affected from 21.2, before 21.2R3-S7 affected from 21.3, before 21.3R3-S5 affected from 21.4, before 21.4R3-S5 affected from 22.1, before 22.1R3-S4 affected from 22.2, before 22.2R3-S3 affected from 22.3, before 22.3R3-S1 affected from 22.4, before 22.4R3 affected from 23.2, before 23.2R1-S2, 23.2R2
Other versions: unaffected
|
| Junos OS Evolved |
affected from 20.4-EVO, before 20.4R3-S9-EVO affected from 21.2-EVO, before 21.2R3-S7-EVO affected from 21.3-EVO, before 21.3R3-S5-EVO affected from 21.4-EVO, before 21.4R3-S5-EVO affected from 22.1-EVO, before 22.1R3-S4-EVO affected from 22.2-EVO, before 22.2R3-S3-EVO affected from 22.3-EVO, before 22.3R3-S1-EVO affected from 22.4-EVO, before 22.4R3-EVO affected from 23.2-EVO, before 23.2R1-S2-EVO, 23.2R2-EVO
Other versions: unaffected
|
Is my server affected?
This CVE is in Junos OS of Juniper Networks, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Advisories
- http://supportportal.juniper.net/JSA75739 supportportal.juniper.net · vendor advisory
Other references
- 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 first.org · technical description
Source: the record CVE-2024-21598 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse