CVEfocus › CVE database › CVE-2024-21612

CVE-2024-21612Junos OS Evolved: Specific TCP traffic causes OFP core and restart of RE

CVSS 7.5 HighEPSS 0.8% (higher than 55% of CVEs)Published 2024-01-12Updated 2025-06-17Assigner: juniper

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.

CWE-228

What to do

None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

What the vendor says

As published in the CVE record by juniper, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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 <ofp_port_1> ] [ firewall family inet filter mgmt-filter term discard_ofp from destination-port <ofp_port_2> ] [ 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 ]

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.