CVE-2024-21599

Junos OS: MX Series: MPC3E memory leak with PTP configuration

AllVuln state: AFFECTED

MEDIUM
CVSS
6.5
3.1
EPSS
0.29%
Percentile 23.22%
CISA KEV
Not listed
Published
January 12, 2024
Updated June 16, 2025

Description

A Missing Release of Memory after Effective Lifetime vulnerability in the Packet Forwarding Engine (PFE) of Juniper Networks Junos OS on MX Series allows an adjacent, unauthenticated attacker to cause a Denial of Service (DoS). If an MX Series device receives PTP packets on an MPC3E that doesn't support PTP this causes a memory leak which will result in unpredictable behavior and ultimately in an MPC crash and restart. To monitor for this issue, please use the following FPC vty level commands: show heap shows an increase in "LAN buffer" utilization and show clksync ptp nbr-upd-info shows non-zero "Pending PFEs" counter. This issue affects Juniper Networks Junos OS on MX Series with MPC3E: * All versions earlier than 20.4R3-S3; * 21.1 versions earlier than 21.1R3-S4; * 21.2 versions earlier than 21.2R3; * 21.3 versions earlier than 21.3R2-S1, 21.3R3; * 21.4 versions earlier than 21.4R2; * 22.1 versions earlier than 22.1R2.

Risk details

CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
attack vector
A
attack complexity
L
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 20.4R3-S3.

Supported product evidence

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

Applicability

AFFECTED · RANGE
20.4R3-S3
NOT_AFFECTED · EXACT
20.4R3-S3
AFFECTED · RANGE
21.1R3-S4
NOT_AFFECTED · EXACT
21.1R3-S4
AFFECTED · RANGE
21.2R3
NOT_AFFECTED · EXACT
21.2R3
UNKNOWN · UNKNOWN
{"lessThan": "21.3R2-S1, 21.3R3", "status": "affected", "version": "21.3", "versionType": "semver"}
AFFECTED · RANGE
21.4R2
NOT_AFFECTED · EXACT
21.4R2
AFFECTED · RANGE
22.1R2
NOT_AFFECTED · EXACT
22.1R2
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 20.4
First fixed: 20.4R3-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.1
First fixed: 21.1R3-S4
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.4
First fixed: 21.4R2
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.1
First fixed: 22.1R2
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
20.4R3-S3
Platform: MX Series
Required configuration: To be affected by this issue an interface on the MPC needs to be configured with PTP as follows: [ protocols ptp master/slave interface <interface-name> ]
AFFECTED · RANGE
21.1 → 21.1R3-S4
Platform: MX Series
Required configuration: To be affected by this issue an interface on the MPC needs to be configured with PTP as follows: [ protocols ptp master/slave interface <interface-name> ]
AFFECTED · RANGE
21.2 → 21.2R3
Platform: MX Series
Required configuration: To be affected by this issue an interface on the MPC needs to be configured with PTP as follows: [ protocols ptp master/slave interface <interface-name> ]
AFFECTED · RANGE
21.3 → 21.3R2-S1, 21.3R3
Platform: MX Series
Required configuration: To be affected by this issue an interface on the MPC needs to be configured with PTP as follows: [ protocols ptp master/slave interface <interface-name> ]
AFFECTED · RANGE
21.4 → 21.4R2
Platform: MX Series
Required configuration: To be affected by this issue an interface on the MPC needs to be configured with PTP as follows: [ protocols ptp master/slave interface <interface-name> ]
AFFECTED · RANGE
22.1 → 22.1R2
Platform: MX Series
Required configuration: To be affected by this issue an interface on the MPC needs to be configured with PTP as follows: [ protocols ptp master/slave interface <interface-name> ]

Remediation

UNKNOWN
Release train: 21.3
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: 20.4R3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.2
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.

CVE-2024-21599 – Junos OS Affected Versions & Fix | AllVuln