CVE-2024-39536

Junos OS and Junos OS Evolved: Flaps of BFD sessions with authentication cause a ppmd memory leak

AllVuln state: AFFECTED

MEDIUM
CVSS
5.3
3.1
EPSS
0.23%
Percentile 14.44%
CISA KEV
Not listed
Published
July 11, 2024
Updated August 2, 2024

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 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.

Risk details

CVSS vector
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
attack vector
A
attack complexity
H
privileges required
N
user interaction
N
scope
U
CWE
CWE-401, Denial-of-Service (DoS)

What should I do?

Review the vendor remediation for fixed or recommended release 21.2R3-S8-EVO.

Supported product evidence

Juniper Networks · Junos OS Evolved
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.2R3-S8-EVO
NOT_AFFECTED · EXACT
21.2R3-S8-EVO
AFFECTED · RANGE
21.4R3-S7-EVO
NOT_AFFECTED · EXACT
21.4R3-S7-EVO
AFFECTED · RANGE
22.2R3-S4-EVO
NOT_AFFECTED · EXACT
22.2R3-S4-EVO
AFFECTED · RANGE
22.3R3-EVO
NOT_AFFECTED · EXACT
22.3R3-EVO
AFFECTED · RANGE
22.4R3-EVO
NOT_AFFECTED · EXACT
22.4R3-EVO
AFFECTED · RANGE
23.2R1-EVO
NOT_AFFECTED · EXACT
23.2R1-EVO
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R3-S8-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.4
First fixed: 21.4R3-S7-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.2
First fixed: 22.2R3-S4-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.3
First fixed: 22.3R3-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.4
First fixed: 22.4R3-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 23.2
First fixed: 23.2R1-EVO
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.2R3-S8
NOT_AFFECTED · EXACT
21.2R3-S8
AFFECTED · RANGE
21.4R3-S7
NOT_AFFECTED · EXACT
21.4R3-S7
AFFECTED · RANGE
22.1R3-S4
NOT_AFFECTED · EXACT
22.1R3-S4
AFFECTED · RANGE
22.2R3-S4
NOT_AFFECTED · EXACT
22.2R3-S4
AFFECTED · RANGE
22.3R3
NOT_AFFECTED · EXACT
22.3R3
UNKNOWN · UNKNOWN
{"lessThan": "22.4R2-S2, 22.4R3", "status": "affected", "version": "22.4", "versionType": "semver"}
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R3-S8
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.4
First fixed: 21.4R3-S7
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.1
First fixed: 22.1R3-S4
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.2
First fixed: 22.2R3-S4
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.3
First fixed: 22.3R3
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS Evolved
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.2-EVO → 21.2R3-S8-EVO
Required configuration: To be exposed to this issue, BFD with authentication like in the following examples needs to be configured: [ protocols <protocol> ... bfd-liveness-detection authentication ] [ routing-options ... bfd-liveness-detection authentication ]
AFFECTED · RANGE
21.4-EVO → 21.4R3-S7-EVO
Required configuration: To be exposed to this issue, BFD with authentication like in the following examples needs to be configured: [ protocols <protocol> ... bfd-liveness-detection authentication ] [ routing-options ... bfd-liveness-detection authentication ]
AFFECTED · RANGE
22.2-EVO → 22.2R3-S4-EVO
Required configuration: To be exposed to this issue, BFD with authentication like in the following examples needs to be configured: [ protocols <protocol> ... bfd-liveness-detection authentication ] [ routing-options ... bfd-liveness-detection authentication ]
AFFECTED · RANGE
22.3-EVO → 22.3R3-EVO
Required configuration: To be exposed to this issue, BFD with authentication like in the following examples needs to be configured: [ protocols <protocol> ... bfd-liveness-detection authentication ] [ routing-options ... bfd-liveness-detection authentication ]
AFFECTED · RANGE
22.4-EVO → 22.4R3-EVO
Required configuration: To be exposed to this issue, BFD with authentication like in the following examples needs to be configured: [ protocols <protocol> ... bfd-liveness-detection authentication ] [ routing-options ... bfd-liveness-detection authentication ]
AFFECTED · RANGE
23.2-EVO → 23.2R1-EVO
Required configuration: To be exposed to this issue, BFD with authentication like in the following examples needs to be configured: [ protocols <protocol> ... bfd-liveness-detection authentication ] [ routing-options ... bfd-liveness-detection authentication ]

Remediation

UNKNOWN
Release train: 21.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.2
First fixed: Unknown
Vendor recommended: Not supplied
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.2R3-S8
Required configuration: To be exposed to this issue, BFD with authentication like in the following examples needs to be configured: [ protocols <protocol> ... bfd-liveness-detection authentication ] [ routing-options ... bfd-liveness-detection authentication ]
AFFECTED · RANGE
21.4 → 21.4R3-S7
Required configuration: To be exposed to this issue, BFD with authentication like in the following examples needs to be configured: [ protocols <protocol> ... bfd-liveness-detection authentication ] [ routing-options ... bfd-liveness-detection authentication ]
AFFECTED · RANGE
22.1 → 22.1R3-S4
Required configuration: To be exposed to this issue, BFD with authentication like in the following examples needs to be configured: [ protocols <protocol> ... bfd-liveness-detection authentication ] [ routing-options ... bfd-liveness-detection authentication ]
AFFECTED · RANGE
22.2 → 22.2R3-S4
Required configuration: To be exposed to this issue, BFD with authentication like in the following examples needs to be configured: [ protocols <protocol> ... bfd-liveness-detection authentication ] [ routing-options ... bfd-liveness-detection authentication ]
AFFECTED · RANGE
22.3 → 22.3R3
Required configuration: To be exposed to this issue, BFD with authentication like in the following examples needs to be configured: [ protocols <protocol> ... bfd-liveness-detection authentication ] [ routing-options ... bfd-liveness-detection authentication ]
AFFECTED · RANGE
22.4 → 22.4R2-S2, 22.4R3
Required configuration: To be exposed to this issue, BFD with authentication like in the following examples needs to be configured: [ protocols <protocol> ... bfd-liveness-detection authentication ] [ routing-options ... bfd-liveness-detection authentication ]

Remediation

UNKNOWN
Release train: 21.2R3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.4
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.