CVE-2025-52985 Details
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.
A vulnerability allowing firewall filter bypass has been identified in Juniper Networks Junos OS Evolved. This issue arises in the Routing Engine firewall when a filter applied to the lo0 or re:mgmt interface references a prefix list with 'from prefix-list' and contains more than 10 entries. In such cases, the prefix list fails to match, allowing packets to bypass filtering and reach the local device. This vulnerability affects both IPv4 and IPv6, as the prefix list can include prefixes from both protocols. The issue is present in Junos OS Evolved versions 23.2R2-S3-EVO prior to 23.2R2-S4-EVO, 23.4R2-S3-EVO prior to 23.4R2-S5-EVO, 24.2R2-EVO prior to 24.2R2-S1-EVO, and 24.4-EVO prior to 24.4R1-S3-EVO and 24.4R2-EVO.
Users can update to Junos OS Evolved versions 23.2R2-S4-EVO, 23.4R2-S5-EVO, 24.2R2-S1-EVO, 24.4R1-S3-EVO, 24.4R2-EVO, 25.2R1-EVO, and all subsequent releases. As a workaround, refer to the prefix list using the 'source-prefix-list' or 'destination-prefix-list' match condition instead of 'from prefix-list'.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 11, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://supportportal.juniper.net/JSA100091 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-480 | Use of Incorrect Operator | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| juniper junos os evolved | 23.2 r2-s3 23.4 r2-s3 23.4 r2-s4 24.2 r2 24.4 - 24.4 r1 24.4 r1-s2 24.4 r2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 23, 2026 | Initial Analysis | [email protected] |
| Jul 18, 2025 | CVE Modified | [email protected] |
| Jul 11, 2025 | New CVE Received | [email protected] |