{"id":"CVE-2024-39542","state":"PUBLISHED","title":"Junos OS and Junos OS Evolved: A malformed CFM packet or specific transit traffic leads to FPC crash","description":"An Improper Validation of Syntactic Correctness of Input vulnerability in the Packet Forwarding Engine (PFE) of Juniper Networks Junos OS on MX Series with MPC10/11 or LC9600, MX304, and Junos OS Evolved on ACX Series and PTX Series allows an unauthenticated, network based attacker to cause a Denial-of-Service (DoS).\n\nThis issue can occur in two scenarios:\n\n1. If a device, which is configured with SFLOW and ECMP, receives specific valid transit traffic, which is subject to sampling, the packetio process crashes, which in turn leads to an evo-aftman crash and causes the FPC to stop working until it is restarted. (This scenario is only applicable to PTX but not to ACX or MX.)\n\n2. If a device receives a malformed CFM packet on an interface configured with CFM, the packetio process crashes, which in turn leads to an evo-aftman crash and causes the FPC to stop working until it is restarted. Please note that the CVSS score is for the formally more severe issue 1.\n\nThe CVSS score for scenario 2. is: 6.5 (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)\n\n\n\n\nThis issue affects Junos OS:\n\n\n\n  *  All versions before 21.2R3-S4,\n  *  21.4 versions before 21.4R2,\n  *  22.2 versions before 22.2R3-S2; \n\n\n\n\nJunos OS Evolved:\n\n\n\n\n  *  All versions before 21.2R3-S8-EVO,\n  *  21.4 versions before 21.4R2-EVO.","publishedAt":"2024-07-11T16:17:56.613Z","updatedAt":"2024-08-02T04:26:15.909Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L","source":"juniper"},"assigner":"juniper","products":["Juniper Networks Junos OS","Juniper Networks Junos OS Evolved"],"affected":[{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"21.2R3-S4","versionType":"semver"},{"version":"21.4","status":"affected","lessThan":"21.4R2","versionType":"semver"},{"version":"22.2","status":"affected","lessThan":"22.2R2-S1, 22.2R3","versionType":"semver"}],"platforms":["MX Series with MPC10 MPC11 or LC9600","MX304"]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"21.2R3-S8-EVO","versionType":"semver"},{"version":"21.4","status":"affected","lessThan":"21.4R2-EVO","versionType":"semver"}],"platforms":["PTX Series","ACX Series"]}],"references":["https://supportportal.juniper.net/JSA83002"],"weaknesses":["CWE-1286"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/39xxx/CVE-2024-39542.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-39542","state":"PUBLISHED","datePublished":"2024-07-11T16:17:56.613Z","dateUpdated":"2024-08-02T04:26:15.909Z","assignerShortName":"juniper","assignerOrgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateReserved":"2024-06-25T15:12:53.244Z"},"containers":{"cna":{"title":"Junos OS and Junos OS Evolved: A malformed CFM packet or specific transit traffic leads to FPC crash","descriptions":[{"lang":"en","value":"An Improper Validation of Syntactic Correctness of Input vulnerability in the Packet Forwarding Engine (PFE) of Juniper Networks Junos OS on MX Series with MPC10/11 or LC9600, MX304, and Junos OS Evolved on ACX Series and PTX Series allows an unauthenticated, network based attacker to cause a Denial-of-Service (DoS).\n\nThis issue can occur in two scenarios:\n\n1. If a device, which is configured with SFLOW and ECMP, receives specific valid transit traffic, which is subject to sampling, the packetio process crashes, which in turn leads to an evo-aftman crash and causes the FPC to stop working until it is restarted. (This scenario is only applicable to PTX but not to ACX or MX.)\n\n2. If a device receives a malformed CFM packet on an interface configured with CFM, the packetio process crashes, which in turn leads to an evo-aftman crash and causes the FPC to stop working until it is restarted. Please note that the CVSS score is for the formally more severe issue 1.\n\nThe CVSS score for scenario 2. is: 6.5 (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)\n\n\n\n\nThis issue affects Junos OS:\n\n\n\n  *  All versions before 21.2R3-S4,\n  *  21.4 versions before 21.4R2,\n  *  22.2 versions before 22.2R3-S2; \n\n\n\n\nJunos OS Evolved:\n\n\n\n\n  *  All versions before 21.2R3-S8-EVO,\n  *  21.4 versions before 21.4R2-EVO."}],"affected":[{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"21.2R3-S4","versionType":"semver"},{"version":"21.4","status":"affected","lessThan":"21.4R2","versionType":"semver"},{"version":"22.2","status":"affected","lessThan":"22.2R2-S1, 22.2R3","versionType":"semver"}],"platforms":["MX Series with MPC10 MPC11 or LC9600","MX304"]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"21.2R3-S8-EVO","versionType":"semver"},{"version":"21.4","status":"affected","lessThan":"21.4R2-EVO","versionType":"semver"}],"platforms":["PTX Series","ACX Series"]}],"references":[{"url":"https://supportportal.juniper.net/JSA83002","tags":["vendor-advisory"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","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":8.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","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:N/VA:H/SC:N/SI:N/SA:L","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"description":"1286 Improper Validation of Syntactic Correctness of Input","lang":"en"}]}],"providerMetadata":{"shortName":"juniper","orgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateUpdated":"2024-07-11T16:17:56.613Z"},"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"To be exposed to this issue at least one of CFM or sampling needs to be configured:<br><br>1. CFM:<br><br>&nbsp; [&nbsp; protocols oam&nbsp;ethernet&nbsp;connectivity-fault-management&nbsp;maintenance-domain &lt;md_name&gt;&nbsp;maintenance-association &lt;ma_name&gt;&nbsp;mep &lt;number&gt;&nbsp;interface &lt;interface&gt; ]<br>OR<br>&nbsp; [&nbsp; protocols oam ethernet connectivity-fault-management maintenance-domain &lt;md_name&gt; interface &lt;interface&gt;&nbsp;/ vlan &lt;vlan&gt; ]<br><br>2. ECMP, sampling<br><br>&nbsp; [ \n\n<span style=\"background-color: rgb(255, 255, 255);\">protocols sflow interfaces &lt;interface&gt;</span>\n\n ]"}],"value":"To be exposed to this issue at least one of CFM or sampling needs to be configured:\n\n1. CFM:\n\n  [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> maintenance-association <ma_name> mep <number> interface <interface> ]\nOR\n  [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> interface <interface> / vlan <vlan> ]\n\n2. ECMP, sampling\n\n  [ \n\nprotocols sflow interfaces <interface>\n\n ]"}],"datePublic":"2024-07-10T16:00:00.000Z","exploits":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Juniper SIRT is not aware of any malicious exploitation of this vulnerability.</p>"}],"value":"Juniper SIRT is not aware of any malicious exploitation of this vulnerability."}],"solutions":[{"lang":"eng","supportingMedia":[{"base64":false,"type":"text/html","value":"The following software releases have been updated to resolve this specific issue:<br>Junos OS: 21.2R3-S4, 21.4R2, 22.2R2-S1, 22.2R3, 22.3R1, and all subsequent releases.<br>Junos OS Evolved: 21.2R3-S8-EVO, 21.4R2-EVO, 22.2R1-EVO, and all subsequent releases.\n<br>"}],"value":"The following software releases have been updated to resolve this specific issue:\nJunos OS: 21.2R3-S4, 21.4R2, 22.2R2-S1, 22.2R3, 22.3R1, and all subsequent releases.\nJunos OS Evolved: 21.2R3-S8-EVO, 21.4R2-EVO, 22.2R1-EVO, and all subsequent releases."}],"source":{"advisory":"JSA83002","defect":["1654270"],"discovery":"USER"},"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"There are no known workarounds for this issue."}],"value":"There are no known workarounds for this issue."}],"x_generator":{"engine":"Vulnogram 0.1.0-av217"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"juniper","product":"junos_os","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"21.2r3-s4","versionType":"semver"},{"version":"21.4","status":"affected","lessThan":"21.4r2","versionType":"semver"},{"version":"22.2","status":"affected","lessThan":"22.2r2-s1","versionType":"semver"},{"version":"22.2","status":"affected","lessThan":"22.2r3","versionType":"semver"}],"cpes":["cpe:2.3:o:juniper:junos_os:*:*:*:*:*:*:*:*"]},{"vendor":"juniper","product":"junos_os_evolved","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"21.2r3-s8-evo","versionType":"semver"},{"version":"21.4","status":"affected","lessThan":"21.4r2-evo","versionType":"semver"}],"cpes":["cpe:2.3:o:juniper:junos_os_evolved:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-11T19:31:17.419444Z","id":"CVE-2024-39542","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1286","type":"CWE","lang":"en","description":"CWE-1286 Improper Validation of Syntactic Correctness of Input"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-12T16:32:48.675Z"}},{"title":"CVE Program Container","references":[{"url":"https://supportportal.juniper.net/JSA83002","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:26:15.909Z"}}]}}}