CVE-2023-22409

Junos OS: SRX Series, MX Series with SPC3: When an inconsistent NAT configuration exists and a specific CLI command is issued the SPC will reboot

AllVuln state: AFFECTED

MEDIUM
CVSS
5.5
3.1
EPSS
0.18%
Percentile 8.01%
CISA KEV
Not listed
Published
January 12, 2023
Updated April 7, 2025

Description

An Unchecked Input for Loop Condition vulnerability in a NAT library of Juniper Networks Junos OS allows a local authenticated attacker with low privileges to cause a Denial of Service (DoS). When an inconsistent "deterministic NAT" configuration is present on an SRX, or MX with SPC3 and then a specific CLI command is issued the SPC will crash and restart. Repeated execution of this command will lead to a sustained DoS. Such a configuration is characterized by the total number of port blocks being greater than the total number of hosts. An example for such configuration is: [ services nat source pool TEST-POOL address x.x.x.0/32 to x.x.x.15/32 ] [ services nat source pool TEST-POOL port deterministic block-size 1008 ] [ services nat source pool TEST-POOL port deterministic host address y.y.y.0/24] [ services nat source pool TEST-POOL port deterministic include-boundary-addresses] where according to the following calculation: 65536-1024=64512 (number of usable ports per IP address, implicit) 64512/1008=64 (number of port blocks per Nat IP) x.x.x.0/32 to x.x.x.15/32 = 16 (NAT IP addresses available in NAT pool) total port blocks in NAT Pool = 64 blocks per IP * 16 IPs = 1024 Port blocks host address y.y.y.0/24 = 256 hosts (with include-boundary-addresses) If the port block size is configured to be 4032, then the total port blocks are (64512/4032) * 16 = 256 which is equivalent to the total host addresses of 256, and the issue will not be seen. This issue affects Juniper Networks Junos OS on SRX Series, and MX Series with SPC3: All versions prior to 19.4R3-S10; 20.1 version 20.1R1 and later versions; 20.2 versions prior to 20.2R3-S6; 20.3 versions prior to 20.3R3-S6; 20.4 versions prior to 20.4R3-S5; 21.1 versions prior to 21.1R3-S4; 21.2 versions prior to 21.2R3-S3; 21.3 versions prior to 21.3R3-S3; 21.4 versions prior to 21.4R3-S1; 22.1 versions prior to 22.1R2-S2, 22.1R3; 22.2 versions prior to 22.2R2.

Risk details

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
attack vector
L
attack complexity
L
privileges required
L
user interaction
N
scope
U
CWE
606 Unchecked Input for Loop Condition, Denial of Service (DoS)

What should I do?

Review the vendor remediation for fixed or recommended release 19.4R3-S10.

Supported product evidence

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

Applicability

AFFECTED · RANGE
19.4R3-S10
NOT_AFFECTED · EXACT
19.4R3-S10
AFFECTED · EXACT
20.1R1
AFFECTED · RANGE
20.2R3-S6
NOT_AFFECTED · EXACT
20.2R3-S6
AFFECTED · RANGE
20.3R3-S6
NOT_AFFECTED · EXACT
20.3R3-S6
AFFECTED · RANGE
20.4R3-S5
NOT_AFFECTED · EXACT
20.4R3-S5
AFFECTED · RANGE
21.1R3-S4
NOT_AFFECTED · EXACT
21.1R3-S4
AFFECTED · RANGE
21.2R3-S3
NOT_AFFECTED · EXACT
21.2R3-S3
AFFECTED · RANGE
21.3R3-S3
NOT_AFFECTED · EXACT
21.3R3-S3
AFFECTED · RANGE
21.4R3-S1
NOT_AFFECTED · EXACT
21.4R3-S1
UNKNOWN · UNKNOWN
{"lessThan": "22.1R2-S2, 22.1R3", "status": "affected", "version": "22.1", "versionType": "custom"}
AFFECTED · RANGE
22.2R2
NOT_AFFECTED · EXACT
22.2R2
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

FIX_AVAILABLE
Release train: 19.4
First fixed: 19.4R3-S10
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.2
First fixed: 20.2R3-S6
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.3
First fixed: 20.3R3-S6
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.4
First fixed: 20.4R3-S5
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.1
First fixed: 21.1R3-S4
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R3-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.3
First fixed: 21.3R3-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.4
First fixed: 21.4R3-S1
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.2
First fixed: 22.2R2
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
unspecified → 19.4R3-S10
Platform: SRX Series
AFFECTED · RANGE
unspecified → 19.4R3-S10
Platform: MX Series with SPC3
AFFECTED · RANGE
20.1R1 → 20.1*
Platform: SRX Series
AFFECTED · RANGE
20.1R1 → 20.1*
Platform: MX Series with SPC3
AFFECTED · RANGE
20.2 → 20.2R3-S6
Platform: SRX Series
AFFECTED · RANGE
20.2 → 20.2R3-S6
Platform: MX Series with SPC3
AFFECTED · RANGE
20.3 → 20.3R3-S6
Platform: SRX Series
AFFECTED · RANGE
20.3 → 20.3R3-S6
Platform: MX Series with SPC3
AFFECTED · RANGE
20.4 → 20.4R3-S5
Platform: SRX Series
AFFECTED · RANGE
20.4 → 20.4R3-S5
Platform: MX Series with SPC3
AFFECTED · RANGE
21.1 → 21.1R3-S4
Platform: SRX Series
AFFECTED · RANGE
21.1 → 21.1R3-S4
Platform: MX Series with SPC3
AFFECTED · RANGE
21.2 → 21.2R3-S3
Platform: SRX Series
AFFECTED · RANGE
21.2 → 21.2R3-S3
Platform: MX Series with SPC3
AFFECTED · RANGE
21.3 → 21.3R3-S3
Platform: SRX Series
AFFECTED · RANGE
21.3 → 21.3R3-S3
Platform: MX Series with SPC3
AFFECTED · RANGE
21.4 → 21.4R3-S1
Platform: SRX Series
AFFECTED · RANGE
21.4 → 21.4R3-S1
Platform: MX Series with SPC3
AFFECTED · RANGE
22.1 → 22.1R2-S2, 22.1R3
Platform: SRX Series
AFFECTED · RANGE
22.1 → 22.1R2-S2, 22.1R3
Platform: MX Series with SPC3
AFFECTED · RANGE
22.2 → 22.2R2
Platform: SRX Series
AFFECTED · RANGE
22.2 → 22.2R2
Platform: MX Series with SPC3

Remediation

UNKNOWN
Release train: Not specified
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.1R1
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
UNKNOWN
Release train: 21.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.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.