Paper/Archive/CVE-2022-22167

CVE-2022-22167

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

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
Junos OS18.4 – < 18.4R2-S10, 18.4R3-S1018.4R2-S10, 18.4R3-S10CNA
Junos OS19.1 – < 19.1R3-S819.1R3-S8CNA
Junos OS19.2 – < 19.2R1-S8, 19.2R3-S419.2R1-S8, 19.2R3-S4CNA
Junos OS19.3 – < 19.3R3-S319.3R3-S3CNA
Junos OS19.4 – < 19.4R3-S519.4R3-S5CNA
Junos OS20.1 – < 20.1R3-S120.1R3-S1CNA
Junos OS20.2 – < 20.2R3-S220.2R3-S2CNA
Junos OS20.3 – < 20.3R3-S120.3R3-S1CNA
Junos OS20.4 – < 20.4R2-S2, 20.4R320.4R2-S2, 20.4R3CNA
Junos OS21.1 – < 21.1R2-S2, 21.1R321.1R2-S2, 21.1R3CNA
Junos OS21.2 – < 21.2R221.2R2CNA
Junos OSsee advisoryunspecifiedCNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
juniper (CNA)7.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

References

refkb.juniper.net/JSA11265