Product Affected

This issue affects all versions of Junos OS and Junos OS Evolved.
High
CVSS 3.1: 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
CVSS 4.0: 8.7 (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)

Problem

An Improper Handling of Exceptional Conditions vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows a network-based, unauthenticated attacker to send a specific routing update, causing an rpd core due to memory corruption, leading to a Denial of Service (DoS).

This issue can only be triggered when the system is configured for CoS-based forwarding (CBF) with a policy map containing a cos-next-hop-map action (see below).

This issue affects:

Junos OS:

  • all versions before 20.4R3-S10,
  • from 21.2 before 21.2R3-S8,
  • from 21.3 before 21.3R3,
  • from 21.4 before 21.4R3,
  • from 22.1 before 22.1R2;

Junos OS Evolved:

  • all versions before 21.2R3-S8-EVO,
  • from 21.3 before 21.3R3-EVO,
  • from 21.4 before 21.4R3-EVO,
  • from 22.1 before 22.1R2-EVO.

 

The following is an example of CoS-based forwarding configuration:

[edit policy-options]
set policy-statement my-cos-forwarding term 1 from route-filter destination-prefix match-type
set policy-statement my-cos-forwarding term 1 then cos-next-hop-map map-name

Solution

The following software releases have been updated to resolve this specific issue:

  • Junos OS: 20.4R3-S10, 21.2R3-S8, 21.3R3, 21.4R3, 22.1R2, 22.2R1, and all subsequent releases.
  • Junos OS Evolved:  21.2R3-S8-EVO, 21.3R3-EVO, 21.4R3-EVO, 22.1R2-EVO, 22.2R1-EVO, and all subsequent releases.


This issue is being tracked as 1640813 which is visible on the Customer Support website.


Note: Juniper SIRT's policy is not to evaluate releases which are beyond End of Engineering (EOE) or End of Life (EOL).
 

Workaround

There are no known workarounds for this issue.

Severity Assessment

Information for how Juniper Networks uses CVSS can be found at KB 16446 [juniper.net] "Common Vulnerability Scoring System (CVSS) and Juniper's Security Advisories.

Modification History

2024-04-10 - Initial Publication
2024-09-13: Minor formatting change to CVSS field
2024-12-03: Mentioned fixes for 21.2R3-S8 and 21.2R3-S8-EVO

Related Information