CVE-2024-21612

Junos OS Evolved: Specific TCP traffic causes OFP core and restart of RE

Description

An Improper Handling of Syntactically Invalid Structure vulnerability in Object Flooding Protocol (OFP) service of Juniper Networks Junos OS Evolved allows an unauthenticated, network-based attacker to cause a Denial of Service (DoS). On all Junos OS Evolved platforms, when specific TCP packets are received on an open OFP port, the OFP crashes leading to a restart of Routine Engine (RE). Continuous receipt of these specific TCP packets will lead to a sustained Denial of Service (DoS) condition. This issue affects: Juniper Networks Junos OS Evolved * All versions earlier than 21.2R3-S7-EVO; * 21.3 versions earlier than 21.3R3-S5-EVO ; * 21.4 versions earlier than 21.4R3-S5-EVO; * 22.1 versions earlier than 22.1R3-S4-EVO; * 22.2 versions earlier than 22.2R3-S3-EVO ; * 22.3 versions earlier than 22.3R3-EVO; * 22.4 versions earlier than 22.4R2-EVO, 22.4R3-EVO.

Remediation

Solution:

  • The following software releases have been updated to resolve this specific issue: Junos OS Evolved: 21.2R3-S7-EVO, 21.3R3-S5-EVO, 21.4R3-S5-EVO, 22.1R3-S4-EVO, 22.2R3-S3-EVO, 22.3R3-EVO, 22.4R2-EVO, 22.4R3-EVO, 23.2R1-EVO, and all subsequent releases.

Workaround:

  • In order to prevent this issue, following firewall filter needs to be added for each OFP port. [ firewall family inet filter mgmt-filter term discard_ofp from protocol tcp ] [ firewall family inet filter mgmt-filter term discard_ofp from destination-port ] [ firewall family inet filter mgmt-filter term discard_ofp from destination-port ] [ firewall family inet filter mgmt-filter term discard_ofp then discard ] [ firewall family inet filter mgmt-filter term 2 then accept ] [ interfaces re0:mgmt-0 unit 0 family inet filter input mgmt-filter ] [ interfaces re1:mgmt-0 unit 0 family inet filter input mgmt-filter ]

Category

7.5
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.19%
Vendor Advisory juniper.net
Affected: Juniper Networks Junos OS Evolved
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-21612?
CVE-2024-21612 has been scored as a high severity vulnerability.
How to fix CVE-2024-21612?
To fix CVE-2024-21612: The following software releases have been updated to resolve this specific issue: Junos OS Evolved: 21.2R3-S7-EVO, 21.3R3-S5-EVO, 21.4R3-S5-EVO, 22.1R3-S4-EVO, 22.2R3-S3-EVO, 22.3R3-EVO, 22.4R2-EVO, 22.4R3-EVO, 23.2R1-EVO, and all subsequent releases.
Is CVE-2024-21612 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-21612 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-21612?
CVE-2024-21612 affects Juniper Networks Junos OS Evolved.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.