Product Affected

This issue affects Junos OS and Junos OS Evolved.
High

CVSS: v3.1: 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
CVSS: v4.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 an unauthenticated network-based attacker sending a specific BGP packet to cause rpd to crash and restart, resulting in a Denial of Service (DoS). Continued receipt and processing of this packet will create a sustained Denial of Service (DoS) condition.

This issue only affects systems with BGP traceoptions enabled and requires a BGP session to be already established.  Systems without BGP traceoptions enabled are not affected by this issue.

This issue affects iBGP and eBGP, and both IPv4 and IPv6 are affected by this vulnerability.

This issue affects:

Junos OS: 

  • All versions before 21.2R3-S8, 
  • from 21.4 before 21.4R3-S8, 
  • from 22.2 before 22.2R3-S4, 
  • from 22.3 before 22.3R3-S4,
  • from 22.4 before 22.4R3-S3, 
  • from 23.2 before 23.2R2-S1, 
  • from 23.4 before 23.4R2; 

 

Junos OS Evolved: 

  • All versions before 21.2R3-S8-EVO, 
  • from 21.4-EVO before 21.4R3-S8-EVO, 
  • from 22.2-EVO before 22.2R3-S4-EVO, 
  • from 22.3-EVO before 22.3R3-S4-EVO,
  • from 22.4-EVO before 22.4R3-S3-EVO, 
  • from 23.2-EVO before 23.2R2-S1-EVO, 
  • from 23.4-EVO before 23.4R2-EVO.

 

One of the following traceoptions configurations, either at the top level, under [logical-systems], or [routing-instances], is required to be potentially exposed to this issue:

[protocols bgp traceoptions]
[protocols bgp group <group-name> traceoptions]
[protocols bgp group <group-name> neighbor <address> traceoptions]

 

Juniper SIRT is not aware of any malicious exploitation of this vulnerability.

This issue was discovered during external security research.

Solution

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

Junos OS 21.2R3-S8, 21.4R3-S8, 22.2R3-S4, 22.3R3-S4*, 22.4R3-S3, 23.2R2-S1, 23.4R2, 24.2R1, and all subsequent releases.
Junos OS Evolved 21.2R3-S8-EVO, 21.4R3-S8-EVO, 22.2R3-S4-EVO, 22.3R3-S4-EVO*, 22.4R3-S3-EVO, 23.2R2-S1-EVO, 23.4R2-EVO, 24.2R1-EVO, and all subsequent releases.

*Future release

 

This issue is being tracked as 1807533 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

Disable BGP traceoptions if they are not being used for active troubleshooting.

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-10-09: Initial Publication
2024-10-10: Removed "nexthop" from the title, since there's no knob for nexthop traceoptions

Related Information

Acknowledgements

Juniper SIRT would like to acknowledge and thank Craig Dods from Meta’s Infrastructure Security Engineering team for responsibly reporting this vulnerability.