CVE-2025-52985
Last modified
CVE-2025-52985 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. 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.. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Juniper | Junos Os Evolved | 23.2 | R2-S3 |
| Juniper | Junos Os Evolved | 23.4 | R2-S3 |
| Juniper | Junos Os Evolved | 24.2 | R2 |
| Juniper | Junos Os Evolved | 24.4 | — |
References
- https://supportportal.juniper.net/JSA100091Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-52985?
How severe is CVE-2025-52985?
How do I fix CVE-2025-52985?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-5298A vulnerability, which was classified as critical, was found…9.8
- CVE-2025-52980A Use of Incorrect Byte Ordering vulnerability in the Ro…8.7
- CVE-2025-52981An Improper Check for Unusual or Exceptional Conditions vuln…8.7
- CVE-2025-52982An Improper Resource Shutdown or Release vulnerability in th…8.2
- CVE-2025-52983A UI Discrepancy for Security Feature vulnerability in the …8.6
- CVE-2025-52984A NULL Pointer Dereference vulnerability in the routing prot…8.2
- CVE-2025-52986A Missing Release of Memory after Effective Lifetime vulnera…6.8
- CVE-2025-52987A clickjacking vulnerability exists in the web portal of Jun…6.1
- CVE-2025-52988An Improper Neutralization of Special Elements used in an OS…8.4
- CVE-2025-52989An Improper Neutralization of Delimiters vulnerability in th…6.8
- CVE-2025-5299A vulnerability was found in SourceCodester Client Database …7.3
- CVE-2025-52991The Nix, Lix, and Guix package managers default to using tem…3.2
Are you affected by CVE-2025-52985?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
