CVE-2024-39536
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA 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 Denial-of-Service (DoS). When 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. Whether the leak occurs can be monitored with the following CLI command: > show ppm request-queue FPC Pending-request fpc0 2 request-total-pending: 2 where a continuously increasing number of pending requests is indicative of the leak. This issue affects: Junos OS: * All versions before 21.2R3-S8, * 21.4 versions before 21.4R3-S7, * 22.1 versions before 22.1R3-S4, * 22.2 versions before 22.2R3-S4, * 22.3 versions before 22.3R3, * 22.4 versions before 22.4R2-S2, 22.4R3. Junos OS Evolved: * All versions before 21.2R3-S8-EVO, * 21.4-EVO versions before 21.4R3-S7-EVO, * 22.2-EVO versions before 22.2R3-S4-EVO, * 22.3-EVO versions before 22.3R3-EVO, * 22.4-EVO versions before 22.4R3-EVO.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA memory leak vulnerability in the Periodic Packet Management Daemon (ppmd) of Juniper Junos OS allows an unauthenticated adjacent attacker to cause Denial of Service. The leak occurs when a BFD session configured with authentication flaps, operating in distributed (default) or inline mode. The leak depends on a race condition outside attacker control, causing gradual memory exhaustion.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 21.2= 21.4= 22.1= 22.2= 22.3= 22.4< 21.2= 21.2= 21.4= 22.2= 22.3= 22.4CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Adjacent
- Complexity
- High
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check Junos OS versionRun 'show version' or 'show version detail' on the deviceAffected if The running version is < 21.2, or equals 21.4, 22.1, 22.2, 22.3, or 22.4 for Junos; or < 21.2, equals 21.2, 21.4, 22.2, 22.3, or 22.4 for Junos OS Evolved
-
Verify BFD protocol is configuredRun 'show configuration protocols bfd' to see if BFD is configuredAffected if BFD protocol is configured on the device
-
Confirm BFD uses authenticationIn BFD configuration, look for 'authentication' keyword (keychain, md5, sha1) under the BFD session configurationAffected if A BFD session is configured with any form of authentication (keychain, md5, sha1, etc.)
-
Check BFD session modeRun 'show bfd session detail' and look for 'distributed' or 'inline' mode in the session parameters; if not explicitly set, distributed is the defaultAffected if BFD sessions are operating in distributed mode (default) or inline mode
-
Monitor ppmd request queue growthRun 'show ppm request-queue' repeatedly over time and observe if pending requests continuously increaseAffected if The pending request count shows sustained growth over multiple checks, indicating the memory leak
You are affected if running a vulnerable Junos version AND have BFD sessions configured with authentication operating in distributed or inline mode, with observable growth in the ppmd request queue.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped21.2
Apply the vendor-supplied patches for Junos OS and Junos OS Evolved corresponding to the affected version branches. Monitor ppm request-queue for continuously increasing pending requests as an indicator of the leak.
Upgrade to the minimum fixed release for your current branch: 21.2R3-S8, 21.4R3-S7, 22.1R3-S4, 22.2R3-S4, 22.3R3, or 22.4R3 (or corresponding -EVO versions for Junos OS Evolved)
- 1. Identify all Junos OS and Junos OS Evolved devices in the environment that may be affected by checking the current software version with 'show version'.
- 2. For each affected device, determine the appropriate fixed release based on the current installed version: - If running <21.2, upgrade to 21.2R3-S8 or later. - If running 21.4.x, upgrade to 21.4R3-S7 or later. - If running 22.1.x, upgrade to 22.1R3-S4 or later. - If running 22.2.x, upgrade to 22.2R3-S4 or later. - If running 22.3.x, upgrade to 22.3R3 or later. - If running 22.4.x, upgrade to 22.
- 3. For Junos OS Evolved devices, use the corresponding -EVO versions: 21.2R3-S8-EVO, 21.4R3-S7-EVO, 22.2R3-S4-EVO, 22.3R3-EVO, or 22.4R3-EVO.
- 4. Before upgrading, review the BFD configuration to understand if authentication is in use: run 'show configuration protocols bfd' and check for 'authentication' statements.
- 5. Schedule a maintenance window and back up the current configuration.
- 6. Perform the upgrade following standard Junos upgrade procedures (use 'request system software add' or equivalent).
- 7. After upgrade, verify the fix by monitoring 'show ppm request-queue' periodically to confirm pending requests do not continuously increase.
- 8. Confirm BFD sessions are operating normally post-upgrade with 'show bfd session'.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,408.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-39536 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-39536 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data