CVE-2022-22167

Junos OS: SRX Series: If no-syn-check is enabled, traffic classified as UNKNOWN gets permitted by pre-id-default-policy

AllVuln state: AFFECTED

HIGH
CVSS
7.2
3.1
EPSS
0.69%
Percentile 54.31%
CISA KEV
Not listed
Published
January 19, 2022
Updated September 16, 2024

Description

A traffic classification vulnerability in Juniper Networks Junos OS on the SRX Series Services Gateways may allow an attacker to bypass Juniper Deep Packet Inspection (JDPI) rules and access unauthorized networks or resources, when 'no-syn-check' is enabled on the device. While JDPI correctly classifies out-of-state asymmetric TCP flows as the dynamic-application UNKNOWN, this classification is not provided to the policy module properly and hence traffic continues to use the pre-id-default-policy, which is more permissive, causing the firewall to allow traffic to be forwarded that should have been denied. This issue only occurs when 'set security flow tcp-session no-syn-check' is configured on the device. This issue affects Juniper Networks Junos OS on SRX Series: 18.4 versions prior to 18.4R2-S10, 18.4R3-S10; 19.1 versions prior to 19.1R3-S8; 19.2 versions prior to 19.2R1-S8, 19.2R3-S4; 19.3 versions prior to 19.3R3-S3; 19.4 versions prior to 19.4R3-S5; 20.1 versions prior to 20.1R3-S1; 20.2 versions prior to 20.2R3-S2; 20.3 versions prior to 20.3R3-S1; 20.4 versions prior to 20.4R2-S2, 20.4R3; 21.1 versions prior to 21.1R2-S2, 21.1R3; 21.2 versions prior to 21.2R2. This issue does not affect Juniper Networks Junos OS versions prior to 18.4R1.

Risk details

CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
attack vector
N
attack complexity
L
privileges required
N
user interaction
N
scope
C
CWE
CWE-863

What should I do?

Review the vendor remediation for fixed or recommended release 19.1R3-S8.

Supported product evidence

Juniper Networks · Junos OS
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

UNKNOWN · UNKNOWN
{"lessThan": "18.4R2-S10, 18.4R3-S10", "status": "affected", "version": "18.4", "versionType": "custom"}
AFFECTED · RANGE
19.1R3-S8
NOT_AFFECTED · EXACT
19.1R3-S8
UNKNOWN · UNKNOWN
{"lessThan": "19.2R1-S8, 19.2R3-S4", "status": "affected", "version": "19.2", "versionType": "custom"}
AFFECTED · RANGE
19.3R3-S3
NOT_AFFECTED · EXACT
19.3R3-S3
AFFECTED · RANGE
19.4R3-S5
NOT_AFFECTED · EXACT
19.4R3-S5
AFFECTED · RANGE
20.1R3-S1
NOT_AFFECTED · EXACT
20.1R3-S1
AFFECTED · RANGE
20.2R3-S2
NOT_AFFECTED · EXACT
20.2R3-S2
AFFECTED · RANGE
20.3R3-S1
NOT_AFFECTED · EXACT
20.3R3-S1
UNKNOWN · UNKNOWN
{"lessThan": "20.4R2-S2, 20.4R3", "status": "affected", "version": "20.4", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "21.1R2-S2, 21.1R3", "status": "affected", "version": "21.1", "versionType": "custom"}
AFFECTED · RANGE
21.2R2
NOT_AFFECTED · EXACT
21.2R2
UNKNOWN · DEFAULT
{"defaultStatus": null}
NOT_AFFECTED · RANGE
18.4R1
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

FIX_AVAILABLE
Release train: 19.1
First fixed: 19.1R3-S8
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 19.3
First fixed: 19.3R3-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 19.4
First fixed: 19.4R3-S5
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.1
First fixed: 20.1R3-S1
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.2
First fixed: 20.2R3-S2
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.3
First fixed: 20.3R3-S1
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R2
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
20.1 → 20.1R3-S1
Platform: SRX Series
Required configuration: This issue is only seen when the following configuration is present: [security flow tcp-session no-syn-check]
AFFECTED · RANGE
20.2 → 20.2R3-S2
Platform: SRX Series
Required configuration: This issue is only seen when the following configuration is present: [security flow tcp-session no-syn-check]
AFFECTED · RANGE
18.4 → 18.4R2-S10, 18.4R3-S10
Platform: SRX Series
Required configuration: This issue is only seen when the following configuration is present: [security flow tcp-session no-syn-check]
AFFECTED · RANGE
19.1 → 19.1R3-S8
Platform: SRX Series
Required configuration: This issue is only seen when the following configuration is present: [security flow tcp-session no-syn-check]
AFFECTED · RANGE
19.2 → 19.2R1-S8, 19.2R3-S4
Platform: SRX Series
Required configuration: This issue is only seen when the following configuration is present: [security flow tcp-session no-syn-check]
AFFECTED · RANGE
19.3 → 19.3R3-S3
Platform: SRX Series
Required configuration: This issue is only seen when the following configuration is present: [security flow tcp-session no-syn-check]
AFFECTED · RANGE
19.4 → 19.4R3-S5
Platform: SRX Series
Required configuration: This issue is only seen when the following configuration is present: [security flow tcp-session no-syn-check]
AFFECTED · RANGE
20.3 → 20.3R3-S1
Platform: SRX Series
Required configuration: This issue is only seen when the following configuration is present: [security flow tcp-session no-syn-check]
AFFECTED · RANGE
20.4 → 20.4R2-S2, 20.4R3
Platform: SRX Series
Required configuration: This issue is only seen when the following configuration is present: [security flow tcp-session no-syn-check]
AFFECTED · RANGE
21.1 → 21.1R2-S2, 21.1R3
Platform: SRX Series
Required configuration: This issue is only seen when the following configuration is present: [security flow tcp-session no-syn-check]
AFFECTED · RANGE
21.2 → 21.2R2
Platform: SRX Series
Required configuration: This issue is only seen when the following configuration is present: [security flow tcp-session no-syn-check]
NOT_AFFECTED · RANGE
unspecified → 18.4R1
Required configuration: This issue is only seen when the following configuration is present: [security flow tcp-session no-syn-check]

Remediation

UNKNOWN
Release train: 18.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.2
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.