CVE-2024-21599: Junos OS: MX Series: MPC3E memory leak with PTP configuration
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Juniper Networks Junos OS (MX Series, MPC3E PFE)to a version that resolves this vulnerability.Fixed in 20.4R3-S3 - Upgrade
Upgrade
Juniper Networks Junos OS (MX Series, MPC3E PFE)to a version that resolves this vulnerability.Fixed in 21.1R3-S4 - Upgrade
Upgrade
Juniper Networks Junos OS (MX Series, MPC3E PFE)to a version that resolves this vulnerability.Fixed in 21.2R3 - Upgrade
Upgrade
Juniper Networks Junos OS (MX Series, MPC3E PFE)to a version that resolves this vulnerability.Fixed in 21.3R2-S1 - Upgrade
Upgrade
Juniper Networks Junos OS (MX Series, MPC3E PFE)to a version that resolves this vulnerability.Fixed in 21.3R3 - Upgrade
Upgrade
Juniper Networks Junos OS (MX Series, MPC3E PFE)to a version that resolves this vulnerability.Fixed in 21.4R2 - Upgrade
Upgrade
Juniper Networks Junos OS (MX Series, MPC3E PFE)to a version that resolves this vulnerability.Fixed in 22.1R2 - Compensating control
Monitor for this issue using FPC vty level commands: run "show clksync ptp nbr-upd-info" and "show heap"; look for an increase in "LAN buffer" utilization and a non-zero "Pending PFEs" counter.
Event History
Frequently Asked Questions
What is the severity of CVE-2024-21599?
CVE-2024-21599 has a moderate severity rating, as it can cause a Denial of Service (DoS).
How do I fix CVE-2024-21599?
To remediate CVE-2024-21599, upgrade to a patched version of Junos OS that addresses this vulnerability.
Which versions of Junos OS are affected by CVE-2024-21599?
CVE-2024-21599 affects Junos OS versions 20.4, 21.1, 21.2, 21.3, 21.4, and 22.1.
What is the attack vector for CVE-2024-21599?
The attack vector for CVE-2024-21599 involves receiving specific PTP packets from an adjacent, unauthenticated attacker.
What can an attacker achieve with CVE-2024-21599?
An attacker exploiting CVE-2024-21599 can cause a Denial of Service (DoS) on affected devices.