CVE-2023-4481

Summary

An Improper Input Validation vulnerability in the Routing Protocol Daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated, network-based attacker to cause a Denial of Service (DoS).

When certain specific crafted BGP UPDATE messages are received over an established BGP session, one BGP session may be torn down with an UPDATE message error, or the issue may propagate beyond the local system which will remain non-impacted, but may affect one or more remote systems. This issue is exploitable remotely as the crafted UPDATE message can propagate through unaffected systems and intermediate BGP speakers. Continuous receipt of the crafted BGP UPDATE messages will create a sustained Denial of Service (DoS) condition for impacted devices.

This issue affects eBGP and iBGP, in both IPv4 and IPv6 implementations. This issue requires a remote attacker to have at least one established BGP session. Improper Input Validation, Denial of Service vulnerability in Juniper Networks, Inc. Junos OS (BGP, rpd modules), Juniper Networks, Inc. Junos OS Evolved (BGP, rpd modules) allows Fuzzing.This issue affects 

Junos OS: 

  • All versions before 20.4R3-S10,
  • from 21.1R1 through 21.*,
  • from 21.2 before 21.2R3-S5,
  • from 21.3 before 21.3R3-S5,
  • from 21.4 before 21.4R3-S7 (unaffected from 21.4R3-S5, affected from 21.4R3-S6)
  • from 22.1 before 22.1R3-S4,
  • from 22.2 before 22.2R3-S3,
  • from 22.3 before 22.3R3-S1,
  • from 22.4 before 22.4R3,
  • from 23.2 before 23.2R2.

Junos OS Evolved:

  • All versions before 20.4R3-S10-EVO,
  • from 21.2-EVO before 21.2R3-S7-EVO,
  • from 21.3-EVO before 21.3R3-S5-EVO,
  • from 21.4-EVO before 21.4R3-S5-EVO,
  • from 22.1-EVO before 22.1R3-S4-EVO,
  • from 22.2-EVO before 22.2R3-S3-EVO,
  • from 22.3-EVO before 22.3R3-S1-EVO,
  • from 22.4-EVO before 22.4R3-EVO,
  • from 23.2-EVO before 23.2R2-EVO.

Affected Software

VendorProductVersion RangeStatus
Juniper Networks, Inc.Junos OS0 < 20.4R3-S10affected
Juniper Networks, Inc.Junos OS21.2 < 21.2R3-S5affected
Juniper Networks, Inc.Junos OS21.3 < 21.3R3-S5affected
Juniper Networks, Inc.Junos OS21.4 < 21.4R3-S7affected
Juniper Networks, Inc.Junos OS22.1 < 22.1R3-S4affected
Juniper Networks, Inc.Junos OS22.2 < 22.2R3-S3affected
Juniper Networks, Inc.Junos OS22.3 < 22.3R3-S1affected
Juniper Networks, Inc.Junos OS22.4 < 22.4R3affected
Juniper Networks, Inc.Junos OS23.2 < 23.2R2affected
Juniper Networks, Inc.Junos OS21.1R1 <= 21.*affected
Juniper Networks, Inc.Junos OS Evolved0 < 20.4R3-S10-EVOaffected
Juniper Networks, Inc.Junos OS Evolved21.2-EVO < 21.2R3-S7-EVOaffected
Juniper Networks, Inc.Junos OS Evolved21.3-EVO < 21.3R3-S5-EVOaffected
Juniper Networks, Inc.Junos OS Evolved21.4-EVO < 21.4R3-S5-EVOaffected
Juniper Networks, Inc.Junos OS Evolved22.1-EVO < 22.1R3-S4-EVOaffected
Juniper Networks, Inc.Junos OS Evolved22.2-EVO < 22.2R3-S3-EVOaffected
Juniper Networks, Inc.Junos OS Evolved22.3-EVO < 22.3R3-S1-EVOaffected
Juniper Networks, Inc.Junos OS Evolved22.4-EVO < 22.4R3-EVOaffected
Juniper Networks, Inc.Junos OS Evolved23.2-EVO < 23.2R2-EVOaffected

Weaknesses

  • CWE-20: CWE-20 Improper Input Validation
  • Denial of Service

Workarounds

The workaround is to configure BGP error tolerance by way of:

  [ protocols bgp bgp-error-tolerance … ]

Additional details can be found at https://www.juniper.net/documentation/us/en/software/junos/bgp/topics/topic-map/bgp-error-messages.hhttps://www.juniper.net/documentation/us/en/software/junos/bgp/topics/topic-map/bgp-error-messages.html

Juniper considers configuring this option to be a Best Common Practice (BCP) as it not only prevents this issue from happening, but protects against similar issues as well.

ADP Enrichment

CVE Program Container

Additional References

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: yes
    • Technical Impact: partial

References