Skip to content

CVE-2025-52985 Junos OS Evolved: When a control-plane firewall filter refers to a prefix-list with more than 10 entries it's not matching

MediumCVSS 6.9 EPSS 0.30%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Network Appliances

Description

A Use of Incorrect Operator

vulnerability in the Routing Engine firewall of Juniper Networks Junos OS Evolved allows an unauthenticated, network-based attacker to bypass security restrictions.

When a firewall filter which is applied to the lo0 or re:mgmt interface references a prefix list with 'from prefix-list', and that prefix list contains more than 10 entries, the prefix list doesn't match and packets destined to or from the local device are not filtered.

This issue affects firewall filters applied to the re:mgmt interfaces as input and output, but only affects firewall filters applied to the lo0 interface as output.
This issue is applicable to IPv4 and IPv6 as a prefix list can contain IPv4 and IPv6 prefixes.
This issue affects Junos OS Evolved:

  • 23.2R2-S3-EVO versions before 23.2R2-S4-EVO,
  • 23.4R2-S3-EVO versions before 23.4R2-S5-EVO,
  • 24.2R2-EVO versions before 24.2R2-S1-EVO,
  • 24.4-EVO versions before 24.4R1-S3-EVO, 24.4R2-EVO.

This issue doesn't affect Junos OS Evolved versions before 23.2R1-EVO.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
juniper Junos OS Evolved = 23.2-r2-s3; = 23.4-r2-s3; = 23.4-r2-s4; = 24.2-r2 +8 more 23.2R2-S4-EVO, 23.4R2-S5-EVO, 24.2R2-S1-EVO, 24.4R1-S3-EVO, 24.4R2-EVO Fixed

Affected products

ProductAffected versionsFixed in
juniper Junos OS Evolved >= 23.2R2-S3-EVO, < 23.2R2-S4-EVO 23.2R2-S4-EVO
juniper Junos OS Evolved >= 23.4R2-S3-EVO, < 23.4R2-S5-EVO 23.4R2-S5-EVO
juniper Junos OS Evolved >= 24.2R2-EVO, < 24.2R2-S1-EVO 24.2R2-S1-EVO
juniper Junos OS Evolved >= 24.4-EVO, < 24.4R1-S3-EVO, 24.4R2-EVO 24.4R1-S3-EVO, 24.4R2-EVO
juniper Junos OS Evolved = 23.2-r2-s3 No fix listed
juniper Junos OS Evolved = 23.4-r2-s3 No fix listed
juniper Junos OS Evolved = 23.4-r2-s4 No fix listed
juniper Junos OS Evolved = 24.2-r2 No fix listed
juniper Junos OS Evolved = 24.4 No fix listed
juniper Junos OS Evolved = 24.4-r1 No fix listed
juniper Junos OS Evolved = 24.4-r1-s2 No fix listed
juniper Junos OS Evolved = 24.4-r2 No fix listed

References