CVSS: v3.1: 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H) CVSS: v4.0: 8.2 (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L/AU:Y/R:A/RE:M)
An Improper Handling of Exceptional Conditions vulnerability in Berkeley Packet Filter (BPF) processing of Juniper Networks Junos OS allows an attacker, in rare cases, sending specific, unknown traffic patterns to cause the FPC and system to crash and restart.BPF provides a raw interface to data link layers in a protocol-independent fashion. Internally within the Junos kernel, due to a rare timing issue (race condition), when a BPF instance is cloned, the newly created interface causes an internal structure leakage, leading to a system crash. The precise content and timing of the traffic patterns is indeterminate, but has been seen in a lab environment multiple times.This issue is more likely to occur when packet capturing is enabled. See required configuration below.
This issue affects Junos OS:
BPF is used by applications such as 'tcpdump', enabled in Junos via packet-capture sampling:[forwarding-options packet-capture file ...][firewall filter <name> term <name> then sample][interfaces <interface> unit <n> family inet filter input <name>][interfaces <interface> unit <n> family inet filter output <name>]or via the 'monitor traffic' command. For example:user@junos> monitor traffic interface <name>
Juniper SIRT is not aware of any malicious exploitation of this vulnerability.
This issue was found during internal product security testing or research.
The following software releases have been updated to resolve this specific issue: 21.2R3-S9, 21.4R3-S10, 22.2R3-S6, 22.4R3-S7, 23.2R2-S3, 23.4R2-S3, 24.2R1-S1, 24.2R2, 24.4R1, and all subsequent releases.
This issue is being tracked as 1819102 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).
Avoid execution of the 'monitor traffic interface' command on production systems.
2025-07-09: Initial Publication2025-07-18: Corrected vulnerable 'monitor' command from 'monitor interface' to 'monitor traffic'2025-07-23: Added workaround of avoiding the execution of the 'monitor traffic' command