# CVE-2024-39561: Junos OS: SRX4600, SRX5000 Series: TCP packets with SYN/FIN or SYN/RST are transferred after enabling no-syn-check with Express Path

- Vendor: Juniper Networks, Junos OS
- Severity: MEDIUM (CVSS 4.0 6.9)
- Exploited (CISA KEV): not listed
- EPSS: 0.3% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: JSA83021, https://supportportal.juniper.net/JSA83021
- Published: 2024-07-10; updated: 2024-07-11
- Page: https://patchtonight.com/cve/CVE-2024-39561/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Junos OS (SRX4600, SRX5000 Series) 0 | 21.2R3-S8 or later |
| Junos OS (SRX4600, SRX5000 Series) 21.4 | 21.4R3-S7 or later |
| Junos OS (SRX4600, SRX5000 Series) 22.1 | 22.1R3-S6 or later |
| Junos OS (SRX4600, SRX5000 Series) 22.2 | 22.2R3-S4 or later |
| Junos OS (SRX4600, SRX5000 Series) 22.3 | 22.3R3-S3 or later |
| Junos OS (SRX4600, SRX5000 Series) 22.4 | 22.4R3-S2 or later |
| Junos OS (SRX4600, SRX5000 Series) 23.2 | 23.2R2 or later |
| Junos OS (SRX4600, SRX5000 Series) 23.4 | 23.4R1-S1, 23.4R2 or later |

## The vendor's description

An Improper Check for Unusual or Exceptional Conditions vulnerability in the flow daemon (flowd) of Juniper Networks Junos OS on 

SRX4600 and SRX5000 Series

 allows an attacker to send TCP packets with 

SYN/FIN or SYN/RST

 flags, bypassing the expected blocking of these packets.

A TCP packet with SYN/FIN or SYN/RST should be dropped in flowd. However, when no-syn-check and Express Path are enabled, these TCP packets are unexpectedly transferred to the downstream network.

This issue affects Junos OS on SRX4600 and SRX5000 Series: 


  *  All versions before 21.2R3-S8, 
  *  from 21.4 before 21.4R3-S7, 
  *  from 22.1 before 22.1R3-S6, 
  *  from 22.2 before 22.2R3-S4, 
  *  from 22.3 before 22.3R3-S3, 
  *  from 22.4 before 22.4R3-S2, 
  *  from 23.2 before 23.2R2, 
  *  from 23.4 before 23.4R1-S1, 23.4R2.

## Workarounds

This issue can be mitigated by disabling Express Path:

[set security forwarding-options services-offload disable]

## Sources

- [Juniper Networks advisory](https://supportportal.juniper.net/JSA83021)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
