CVE-2021-31364

Junos OS: SRX Series: The flowd process will crash if log session-close is configured and specific traffic is received

MEDIUM
5.9
CVSS Score
Published: October 19, 2021 at 06:16 PM UTC
Updated: June 17, 2026 at 03:51 AM UTC
14 products affected across 2 vendorsJunosSRX5800SRX5600

Using Junos OS by Juniper Networks?

Get instant alerts when new vulnerabilities affect Junos OS - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.9
Exploit prediction
EPSS 0.7%

Description

An Improper Check for Unusual or Exceptional Conditions vulnerability combined with a Race Condition in the flow daemon (flowd) of Juniper Networks Junos OS on SRX300 Series, SRX500 Series, SRX1500, and SRX5000 Series with SPC2 allows an unauthenticated network based attacker sending specific traffic to cause a crash of the flowd/srxpfe process, responsible for traffic forwarding in SRX, which will cause a Denial of Service (DoS). Continued receipt and processing of this specific traffic will create a sustained Denial of Service (DoS) condition. This issue can only occur when specific packets are trying to create the same session and logging for session-close is configured as a policy action. Affected platforms are: SRX300 Series, SRX500 Series, SRX1500, and SRX5000 Series with SPC2. Not affected platforms are: SRX4000 Series, SRX5000 Series with SPC3, and vSRX Series. This issue affects Juniper Networks Junos OS SRX300 Series, SRX500 Series, SRX1500, and SRX5000 Series with SPC2: All versions prior to 17.4R3-S5; 18.3 versions prior to 18.3R3-S5; 18.4 versions prior to 18.4R3-S9; 19.1 versions prior to 19.1R3-S6; 19.2 versions prior to 19.2R1-S7, 19.2R3-S2; 19.3 versions prior to 19.3R2-S6, 19.3R3-S2; 19.4 versions prior to 19.4R1-S4, 19.4R3-S3; 20.1 versions prior to 20.1R2-S2, 20.1R3; 20.2 versions prior to 20.2R3; 20.3 versions prior to 20.3R2-S1, 20.3R3; 20.4 versions prior to 20.4R2.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 17.4R3-S518.3 ≤ v < 18.3R3-S518.4 ≤ v < 18.4R3-S919.1 ≤ v < 19.1R3-S619.2 ≤ v < 19.2R1-S7, 19.2R3-S219.3 ≤ v < 19.3R2-S6, 19.3R3-S219.4 ≤ v < 19.4R1-S4, 19.4R3-S320.1 ≤ v < 20.1R2-S2, 20.1R320.2 ≤ v < 20.2R320.3 ≤ v < 20.3R2-S1, 20.3R320.4 ≤ v < 20.4R217.417.4 r117.4 r1-s117.4 r1-s217.4 r1-s317.4 r1-s417.4 r1-s517.4 r1-s617.4 r1-s717.4 r217.4 r2-s117.4 r2-s1017.4 r2-s1117.4 r2-s1217.4 r2-s1317.4 r2-s217.4 r2-s317.4 r2-s417.4 r2-s517.4 r2-s617.4 r2-s717.4 r2-s817.4 r2-s917.4 r317.4 r3-s117.4 r3-s217.4 r3-s317.4 r3-s418.318.3 r18.3 r118.3 r1-s118.3 r1-s218.3 r1-s318.3 r1-s418.3 r1-s518.3 r1-s618.3 r218.3 r2-s118.3 r2-s218.3 r2-s318.3 r2-s418.3 r318.3 r3-s118.3 r3-s218.3 r3-s318.3 r3-s418.418.4 r118.4 r1-s118.4 r1-s218.4 r1-s318.4 r1-s418.4 r1-s518.4 r1-s618.4 r1-s718.4 r218.4 r2-s118.4 r2-s218.4 r2-s318.4 r2-s418.4 r2-s518.4 r2-s618.4 r2-s718.4 r2-s818.4 r318.4 r3-s118.4 r3-s1018.4 r3-s218.4 r3-s318.4 r3-s418.4 r3-s518.4 r3-s618.4 r3-s718.4 r3-s819.119.1 r119.1 r1-s119.1 r1-s219.1 r1-s319.1 r1-s419.1 r1-s519.1 r1-s619.1 r219.1 r2-s119.1 r2-s219.1 r2-s319.1 r319.1 r3-s119.1 r3-s219.1 r3-s319.1 r3-s419.1 r3-s519.219.2 r119.2 r1-s119.2 r1-s219.2 r1-s319.2 r1-s419.2 r1-s519.2 r1-s619.2 r319.2 r3-s119.319.3 r119.3 r1-s119.3 r219.3 r2-s119.3 r2-s219.3 r2-s319.3 r2-s419.3 r2-s519.3 r319.3 r3-s119.419.4 r119.4 r1-s119.4 r1-s219.4 r1-s319.4 r319.4 r3-s119.4 r3-s220.120.1 r120.1 r1-s120.1 r1-s220.1 r1-s320.1 r1-s420.1 r220.1 r2-s120.220.2 r120.2 r1-s120.2 r1-s220.2 r1-s320.2 r220.2 r2-s120.2 r2-s220.2 r2-s320.320.3 r120.3 r1-s120.3 r220.420.4 r120.4 r1-s1
Affected range stops below 17.4R3-S5, so it looks safe — our inference, not a vendor statement
Affected range stops below 18.3R3-S5, so it looks safe — our inference, not a vendor statement
Affected range stops below 18.4R3-S9, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.1R3-S6, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.2R1-S7, 19.2R3-S2, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.3R2-S6, 19.3R3-S2, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.4R1-S4, 19.4R3-S3, so it looks safe — our inference, not a vendor statement
Affected range stops below 20.1R2-S2, 20.1R3, so it looks safe — our inference, not a vendor statement
Affected range stops below 20.2R3, so it looks safe — our inference, not a vendor statement
Affected range stops below 20.3R2-S1, 20.3R3, so it looks safe — our inference, not a vendor statement
Affected range stops below 20.4R2, so it looks safe — our inference, not a vendor statement
juniper-srx1500 (environment) · juniper-srx300 (environment) · juniper-srx320 (environment) · juniper-srx340 (environment) · juniper-srx345 (environment) · juniper-srx380 (environment) · juniper-srx5000 (environment) · juniper-srx5400 (environment) · juniper-srx550 (environment) · juniper-srx550-hm (environment) · juniper-srx550m (environment) · juniper-srx5600 (environment) · juniper-srx5800 (environment)
All versions
All versions
All versions
All versions
All versions
All versions
All versions
All versions
All versions

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

References (1)

x_refsource_CONFIRMPatchVendor Advisory
https://kb.juniper.net/JSA11226

CVSS

5.9MEDIUMjuniper
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362CWE-754

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card