{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-52985","assignerOrgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","state":"PUBLISHED","assignerShortName":"juniper","dateReserved":"2025-06-23T18:23:44.546Z","datePublished":"2025-07-11T15:09:58.361Z","dateUpdated":"2025-07-18T07:16:09.464Z"},"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Junos OS Evolved","vendor":"Juniper Networks","versions":[{"lessThan":"23.2R2-S4-EVO","status":"affected","version":"23.2R2-S3-EVO","versionType":"semver"},{"lessThan":"23.4R2-S5-EVO","status":"affected","version":"23.4R2-S3-EVO","versionType":"semver"},{"lessThan":"24.2R2-S1-EVO","status":"affected","version":"24.2R2-EVO","versionType":"semver"},{"lessThan":"24.4R1-S3-EVO, 24.4R2-EVO","status":"affected","version":"24.4-EVO","versionType":"semver"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"A system will only be affected by this vulnerability if like in the following example a\n\nfirewall filter applied to the lo0 or re:mgmt interface references a prefix list with the 'from prefix-list' clause, and that prefix list contains more than 10 entries:<br><br><tt>[ policy-options prefix-list &lt;prefix-list name&gt; &lt;prefix1&gt; ]<br>...<br>\n\n[ policy-options prefix-list &lt;prefix-list name&gt;\n\n&lt;prefix11&gt; ]<br>...<br>[ firewall family &lt;inet/inet6&gt; filter &lt;filter name&gt; term &lt;term name&gt; from prefix-list \n\n&lt;prefix-list name&gt;\n\n ]<br><span style=\"background-color: rgb(255, 255, 255);\">[ interfaces &lt;lo0 unit &lt;unit&gt; / re:mgmt&lt;0/1&gt; unit \n\n&lt;unit&gt;&gt; family &lt;inet/inet6&gt; filter &lt;input/output&gt; \n\n&lt;filter name&gt;\n\n ]</span></tt>"}],"value":"A system will only be affected by this vulnerability if like in the following example a\n\nfirewall filter applied to the lo0 or re:mgmt interface references a prefix list with the 'from prefix-list' clause, and that prefix list contains more than 10 entries:\n\n[ policy-options prefix-list <prefix-list name> <prefix1> ]\n...\n\n\n[ policy-options prefix-list <prefix-list name>\n\n<prefix11> ]\n...\n[ firewall family <inet/inet6> filter <filter name> term <term name> from prefix-list \n\n<prefix-list name>\n\n ]\n[ interfaces <lo0 unit <unit> / re:mgmt<0/1> unit \n\n<unit>> family <inet/inet6> filter <input/output> \n\n<filter name>\n\n ]"}],"datePublic":"2025-07-09T16:00:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"A Use of Incorrect Operator\n\nvulnerability in the Routing Engine firewall of Juniper Networks Junos OS Evolved allows an unauthenticated, network-based attacker to bypass security restrictions.<br><br>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.<br>\n\n<span style=\"background-color: rgb(255, 255, 255);\">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.</span><br>This issue is applicable to IPv4 and IPv6 as a prefix list can contain IPv4 and IPv6 prefixes.<br><p>This issue affects Junos OS Evolved:</p><span style=\"background-color: rgb(255, 255, 255);\"><ul><li><span style=\"background-color: rgb(255, 255, 255);\">23.2R2-S3-EVO versions before 23.2R2-S4-EVO,</span></li><li><span style=\"background-color: rgb(255, 255, 255);\">23.4R2-S3-EVO versions before 23.4R2-S5-EVO,</span></li><li><span style=\"background-color: rgb(255, 255, 255);\">24.2R2-EVO versions before 24.2R2-S1-EVO,</span></li><li><span style=\"background-color: rgb(255, 255, 255);\">24.4-EVO versions before 24.4R1-S3-EVO, 24.4R2-EVO.</span></li></ul></span>This issue doesn't affect Junos OS Evolved versions before 23.2R1-EVO."}],"value":"A Use of Incorrect Operator\n\nvulnerability in the Routing Engine firewall of Juniper Networks Junos OS Evolved allows an unauthenticated, network-based attacker to bypass security restrictions.\n\nWhen 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.\n\n\nThis 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.\nThis issue is applicable to IPv4 and IPv6 as a prefix list can contain IPv4 and IPv6 prefixes.\nThis issue affects Junos OS Evolved:\n\n  *  23.2R2-S3-EVO versions before 23.2R2-S4-EVO,\n  *  23.4R2-S3-EVO versions before 23.4R2-S5-EVO,\n  *  24.2R2-EVO versions before 24.2R2-S1-EVO,\n  *  24.4-EVO versions before 24.4R1-S3-EVO, 24.4R2-EVO.\n\n\nThis issue doesn't affect Junos OS Evolved versions before 23.2R1-EVO."}],"exploits":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Juniper SIRT is not aware of any malicious exploitation of this vulnerability."}],"value":"Juniper SIRT is not aware of any malicious exploitation of this vulnerability."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]},{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-480","description":"CWE-480 Use of Incorrect Operator","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","shortName":"juniper","dateUpdated":"2025-07-18T07:16:09.464Z"},"references":[{"tags":["vendor-advisory"],"url":"https://supportportal.juniper.net/JSA100091"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"The following software releases have been updated to resolve this specific issue: 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."}],"value":"The following software releases have been updated to resolve this specific issue: 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."}],"source":{"advisory":"JSA100091","defect":["1866334"],"discovery":"INTERNAL"},"title":"Junos OS Evolved: When a control-plane firewall filter refers to a prefix-list with more than 10 entries it's not matching","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"A workaround for this issue is to refer to the prefix list either with&nbsp;the 'source-prefix-list' or the 'destination-prefix-list' match condition ('from')."}],"value":"A workaround for this issue is to refer to the prefix list either with the 'source-prefix-list' or the 'destination-prefix-list' match condition ('from')."}],"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-07-11T16:04:44.130312Z","id":"CVE-2025-52985","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-07-15T19:55:16.560Z"}}]}}