DoS via PIM Packet in Juniper Junos OS RPD (pre-22.4R2)
CVE-2024-39558 Published on July 10, 2024
Junos OS and Junos OS Evolved: Receipt of specific PIM packet causes rpd crash when PIM is configured along with MoFRR
An Unchecked Return Value vulnerability in the Routing Protocol Daemon (rpd) on Juniper Networks Junos OS and Juniper Networks Junos OS Evolved allows a logically adjacent, unauthenticated attacker sending a specific PIM packet to cause rpd to crash and restart, resulting in a Denial of Service (DoS), when PIM is configured with Multicast-only Fast Reroute (MoFRR). Continued receipt and processing of this packet may create a sustained Denial of Service (DoS) condition.
This issue is observed on Junos and Junos Evolved platforms where PIM is configured along with MoFRR. MoFRR tries to select the active path, but due to an internal timing issue, rpd is unable to select the forwarding next-hop towards the source, resulting in an rpd crash.
This issue affects:
Junos OS:
* All versions before 20.4R3-S10,
* from 21.2 before 21.2R3-S7,
* from 21.4 before 21.4R3-S6,
* from 22.1 before 22.1R3-S5,
* from 22.2 before 22.2R3-S3,
* from 22.3 before 22.3R3,
* from 22.4 before 22.4R2;
Junos OS Evolved:
* All versions before 20.4R3-S10 -EVO,
* All versions of 21.2-EVO,
* from 21.4-EVO before 21.4R3-S9-EVO,
* from 22.1-EVO before 22.1R3-S5-EVO,
* from 22.2-EVO before 22.2R3-S3-EVO,
* from 22.3-EVO before 22.3R3-EVO,
* from 22.4-EVO before 22.4R2-EVO.
Vulnerability Analysis
Timeline
Initial Publication
Updated list of EVO affected and fixed releases 29 days later.
Weakness Type
Unchecked Return Value
The software does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions. Two common programmer assumptions are "this function call can never fail" and "it doesn't matter if this function call fails". If an attacker can force the function to fail or otherwise return a value that is not expected, then the subsequent program logic could lead to a vulnerability, because the software is not in a state that the programmer assumes. For example, if the program calls a function to drop privileges but does not check the return code to ensure that privileges were successfully dropped, then the program will continue to operate with the higher privileges.
Products Associated with CVE-2024-39558
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2024-39558 are published in these products:
Affected Versions
Juniper Networks Junos OS:- Before 20.4R3-S10 is affected.
- Version 21.2 and below 21.2R3-S7 is affected.
- Version 21.4 and below 21.4R3-S6 is affected.
- Version 22.1 and below 22.1R3-S5 is affected.
- Version 22.2 and below 22.2R3-S3 is affected.
- Version 22.3 and below 22.3R3 is affected.
- Version 22.4 and below 22.4R2 is affected.
- Before 20.4R3-S10-EVO is affected.
- Version 21.2R1-EVO and below 21.2*-EVO is affected.
- Version 21.4-EVO and below 21.4R3-S9-EVO is affected.
- Version 22.1-EVO and below 22.1R3-S5-EVO is affected.
- Version 22.2-EVO and below 22.2R3-S3-EVO is affected.
- Version 22.3-EVO and below 22.3R3-EVO is affected.
- Version 22.4-EVO and below 22.4R2-EVO is affected.
- Before 20.4R3-S10 is affected.
- Version 21.2 and below 21.2R3-S7 is affected.
- Version 21.4 and below 21.4R3-S6 is affected.
- Version 22.1 and below 22.1R3-S5 is affected.
- Version 22.2 and below 22.2R3-S3 is affected.
- Version 22.3 and below 22.3R3 is affected.
- Version 22.4 and below 22.4R2 is affected.
- Before 20.4R3-S10-EVO is affected.
- Version 21.2R1-EVO and below 21.2*-EVO is affected.
- Version 21.4-EVO and below 21.4R3-S9-EVO is affected.
- Version 22.1-EVO and below 22.1R3-S5-EVO is affected.
- Version 22.2-EVO and below 22.2R3-S3-EVO is affected.
- Version 22.3-EVO and below 22.3R3-EVO is affected.
- Version 22.4-EVO and below 22.4R2-EVO is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.