{"id":"CVE-2024-39536","state":"PUBLISHED","title":"Junos OS and Junos OS Evolved: Flaps of BFD sessions with authentication cause a ppmd memory leak","description":"A Missing Release of Memory after Effective Lifetime vulnerability in the Periodic Packet Management Daemon (ppmd) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated adjacent attacker to cause a \n\nDenial-of-Service (DoS).\n\n\nWhen a BFD session configured with authentication flaps, ppmd memory can leak. Whether the leak happens depends on a race condition which is outside the attackers control. This issue only affects BFD operating in distributed aka delegated (which is the default behavior) or inline mode.\n\n\n\nWhether the leak occurs can be monitored with the following CLI command:\n\n> show ppm request-queue\n\n\nFPC     Pending-request\nfpc0                   2\nrequest-total-pending: 2\n\n\nwhere a continuously increasing number of pending requests is indicative of the leak. \n\n\n\n\n\n\n\n\nThis issue affects:\n\nJunos OS:\n\n\n  *  All versions before 21.2R3-S8,\n  *  21.4 versions before 21.4R3-S7,\n  *  22.1 versions before 22.1R3-S4,\n  *  22.2 versions before 22.2R3-S4, \n  *  22.3 versions before 22.3R3,\n  *  22.4 versions before 22.4R2-S2, 22.4R3.\n\n\n\nJunos OS Evolved:\n  *  All versions before 21.2R3-S8-EVO,\n  *  21.4-EVO versions before 21.4R3-S7-EVO,\n  *  22.2-EVO versions before 22.2R3-S4-EVO,\n  *  22.3-EVO versions before 22.3R3-EVO,\n  *  22.4-EVO versions before 22.4R3-EVO.","publishedAt":"2024-07-11T16:13:24.485Z","updatedAt":"2024-08-02T04:26:15.613Z","severity":{"score":6,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","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-S8","versionType":"semver"},{"version":"21.4","status":"affected","lessThan":"21.4R3-S7","versionType":"semver"},{"version":"22.1","status":"affected","lessThan":"22.1R3-S4","versionType":"semver"},{"version":"22.2","status":"affected","lessThan":"22.2R3-S4","versionType":"semver"},{"version":"22.3","status":"affected","lessThan":"22.3R3","versionType":"semver"},{"version":"22.4","status":"affected","lessThan":"22.4R2-S2, 22.4R3","versionType":"semver"}]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","defaultStatus":"unaffected","versions":[{"version":"21.2-EVO","status":"affected","lessThan":"21.2R3-S8-EVO","versionType":"semver"},{"version":"21.4-EVO","status":"affected","lessThan":"21.4R3-S7-EVO","versionType":"semver"},{"version":"22.2-EVO","status":"affected","lessThan":"22.2R3-S4-EVO","versionType":"semver"},{"version":"22.3-EVO","status":"affected","lessThan":"22.3R3-EVO","versionType":"semver"},{"version":"22.4-EVO","status":"affected","lessThan":"22.4R3-EVO","versionType":"semver"},{"version":"23.2-EVO","status":"affected","lessThan":"23.2R1-EVO","versionType":"semver"}]}],"references":["https://supportportal.juniper.net/JSA82996"],"weaknesses":["CWE-401"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/39xxx/CVE-2024-39536.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-39536","state":"PUBLISHED","datePublished":"2024-07-11T16:13:24.485Z","dateUpdated":"2024-08-02T04:26:15.613Z","assignerShortName":"juniper","assignerOrgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateReserved":"2024-06-25T15:12:53.241Z"},"containers":{"cna":{"title":"Junos OS and Junos OS Evolved: Flaps of BFD sessions with authentication cause a ppmd memory leak","descriptions":[{"lang":"en","value":"A Missing Release of Memory after Effective Lifetime vulnerability in the Periodic Packet Management Daemon (ppmd) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated adjacent attacker to cause a \n\nDenial-of-Service (DoS).\n\n\nWhen a BFD session configured with authentication flaps, ppmd memory can leak. Whether the leak happens depends on a race condition which is outside the attackers control. This issue only affects BFD operating in distributed aka delegated (which is the default behavior) or inline mode.\n\n\n\nWhether the leak occurs can be monitored with the following CLI command:\n\n> show ppm request-queue\n\n\nFPC     Pending-request\nfpc0                   2\nrequest-total-pending: 2\n\n\nwhere a continuously increasing number of pending requests is indicative of the leak. \n\n\n\n\n\n\n\n\nThis issue affects:\n\nJunos OS:\n\n\n  *  All versions before 21.2R3-S8,\n  *  21.4 versions before 21.4R3-S7,\n  *  22.1 versions before 22.1R3-S4,\n  *  22.2 versions before 22.2R3-S4, \n  *  22.3 versions before 22.3R3,\n  *  22.4 versions before 22.4R2-S2, 22.4R3.\n\n\n\nJunos OS Evolved:\n  *  All versions before 21.2R3-S8-EVO,\n  *  21.4-EVO versions before 21.4R3-S7-EVO,\n  *  22.2-EVO versions before 22.2R3-S4-EVO,\n  *  22.3-EVO versions before 22.3R3-EVO,\n  *  22.4-EVO versions before 22.4R3-EVO."}],"affected":[{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"21.2R3-S8","versionType":"semver"},{"version":"21.4","status":"affected","lessThan":"21.4R3-S7","versionType":"semver"},{"version":"22.1","status":"affected","lessThan":"22.1R3-S4","versionType":"semver"},{"version":"22.2","status":"affected","lessThan":"22.2R3-S4","versionType":"semver"},{"version":"22.3","status":"affected","lessThan":"22.3R3","versionType":"semver"},{"version":"22.4","status":"affected","lessThan":"22.4R2-S2, 22.4R3","versionType":"semver"}]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","defaultStatus":"unaffected","versions":[{"version":"21.2-EVO","status":"affected","lessThan":"21.2R3-S8-EVO","versionType":"semver"},{"version":"21.4-EVO","status":"affected","lessThan":"21.4R3-S7-EVO","versionType":"semver"},{"version":"22.2-EVO","status":"affected","lessThan":"22.2R3-S4-EVO","versionType":"semver"},{"version":"22.3-EVO","status":"affected","lessThan":"22.3R3-EVO","versionType":"semver"},{"version":"22.4-EVO","status":"affected","lessThan":"22.4R3-EVO","versionType":"semver"},{"version":"23.2-EVO","status":"affected","lessThan":"23.2R1-EVO","versionType":"semver"}]}],"references":[{"url":"https://supportportal.juniper.net/JSA82996","tags":["vendor-advisory"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"ADJACENT_NETWORK","availabilityImpact":"HIGH","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:A/AC:H/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":"PRESENT","attackVector":"ADJACENT","baseScore":6,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-401","description":"CWE-401 Missing Release of Memory after Effective Lifetime","lang":"en","type":"CWE"}]},{"descriptions":[{"description":"Denial-of-Service (DoS)","lang":"en"}]}],"providerMetadata":{"shortName":"juniper","orgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateUpdated":"2024-07-12T14:42:59.790Z"},"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"To be exposed to this issue, BFD with authentication like in the following examples needs to be \n\n<span style=\"background-color: rgb(255, 255, 255);\">configured</span>:<br><br><tt>[ protocols &lt;protocol&gt; ... bfd-liveness-detection&nbsp;authentication ]<br>[ routing-options ... bfd-liveness-detection authentication ]</tt>"}],"value":"To be exposed to this issue, BFD with authentication like in the following examples needs to be \n\nconfigured:\n\n[ protocols <protocol> ... bfd-liveness-detection authentication ]\n[ routing-options ... bfd-liveness-detection authentication ]"}],"datePublic":"2024-07-10T16:00:00.000Z","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."}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"The following software releases have been updated to resolve this specific issue:<br>Junos OS: 21.2R3-S8, 21.4R3-S7, 22.1R3-S4, 22.2R3-S4, 22.3R3, 22.4R2-S2, 22.4R3, 23.2R1, and all subsequent releases;<br>Junos OS Evolved:&nbsp;<span style=\"background-color: rgb(255, 255, 255);\">21.2R3-S8-EVO, 21.4R3-S7-EVO, 22.2R3-S4-EVO, 22.3R3-EVO, 22.4R3-EVO, 23.2R1-EVO,&nbsp;and all subsequent releases.</span>"}],"value":"The following software releases have been updated to resolve this specific issue:\nJunos OS: 21.2R3-S8, 21.4R3-S7, 22.1R3-S4, 22.2R3-S4, 22.3R3, 22.4R2-S2, 22.4R3, 23.2R1, and all subsequent releases;\nJunos OS Evolved: 21.2R3-S8-EVO, 21.4R3-S7-EVO, 22.2R3-S4-EVO, 22.3R3-EVO, 22.4R3-EVO, 23.2R1-EVO, and all subsequent releases."}],"source":{"advisory":"JSA82996","defect":["1480648"],"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-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"juniper","product":"junos_os","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"21.2R3-S8","versionType":"semver"},{"version":"21.4","status":"affected","lessThan":"21.4R3-S7","versionType":"semver"},{"version":"22.1","status":"affected","lessThan":"22.1R3-S4","versionType":"semver"},{"version":"22.2","status":"affected","lessThan":"22.2R3-S4","versionType":"semver"},{"version":"22.3","status":"affected","lessThan":"22.3R3","versionType":"semver"},{"version":"22.4","status":"affected","lessThan":"22.4R2-S2","versionType":"semver"},{"version":"22.4","status":"affected","lessThan":"22.4R3","versionType":"semver"}],"cpes":["cpe:2.3:o:juniper:junos_os:*:*:*:*:*:*:*:*"]},{"vendor":"juniper","product":"junos_os_evolved","defaultStatus":"unaffected","versions":[{"version":"21.2-EVO","status":"affected","lessThan":"21.2R3-S8-EVO","versionType":"semver"},{"version":"21.4-EVO","status":"affected","lessThan":"21.4R3-S7-EVO","versionType":"semver"},{"version":"22.2-EVO","status":"affected","lessThan":"22.2R3-S4-EVO","versionType":"semver"},{"version":"22.3-EVO","status":"affected","lessThan":"22.3R3-EVO","versionType":"semver"},{"version":"22.4-EVO","status":"affected","lessThan":"22.4R3-EVO","versionType":"semver"},{"version":"23.2-EVO","status":"affected","lessThan":"23.2R1-EVO","versionType":"semver"}],"cpes":["cpe:2.3:o:juniper:junos_os_evolved:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-16T18:38:58.684082Z","id":"CVE-2024-39536","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-16T19:01:50.918Z"}},{"title":"CVE Program Container","references":[{"url":"https://supportportal.juniper.net/JSA82996","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:26:15.613Z"}}]}}}