An Improper Validation of Specified Quantity in Input vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS allows an unauthenticated networked attacker to cause an rdp crash and thereby a Denial of Service (DoS).
If a BGP update message is received over an established BGP session where a BGP SR-TE policy tunnel attribute is malformed and BGP update tracing flag is enabled, the rpd will core. This issue can happen with any BGP session as long as the previous conditions are met. This issue can not propagate as the crash occurs as soon as the malformed update is received.
This issue affects Juniper Networks Junos OS:
This issue does not affect Juniper Networks Junos OS versions prior to 20.4R1.
The following two configuration lines are both required for the issue to be seen:
[ protocols bgp ... family <family> segment-routing-te ] [ protocols bgp ... traceoptions flag update ] Juniper SIRT is not aware of any malicious exploitation of this vulnerability.
[ protocols bgp ... family <family> segment-routing-te ]
[ protocols bgp ... traceoptions flag update ]
This issue was seen during production usage.
This issue has been assigned CVE-2022-22166 .
The following software releases have been updated to resolve this specific issue: 20.4R3-S1, 21.1R2-S2, 21.1R3, 21.2R1, and all subsequent releases.
This issue is being tracked as 1598850 .
Software releases or updates are available for download at https://support.juniper.net/support/downloads/
Please remove the BGP update trace configuration that's applicable.
2022-01-12: Initial Publication.