CVE-2023-22409 in Juniper Junos and 45 more products
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.
Affects 46 products from 1 vendor. Description from NVD and MITRE.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Juniper | Junos | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | MX10 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | MX104 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | MX2010 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | MX2020 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | MX240 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | MX40 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | MX480 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | MX80 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | MX960 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | SRX1500 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | SRX240H2 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | SRX240M | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | SRX300 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | SRX320 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | SRX340 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | SRX345 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | SRX380 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | SRX4000 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | SRX4100 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | SRX4200 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | SRX4600 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | SRX5000 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | SRX5400 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | SRX550 Hm | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | SRX550M | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | MX10000 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | MX10003 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | MX10008 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | MX10016 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | MX150 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | MX2008 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | MX204 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
| Juniper | MX5 | 19.4 20.1 20.2 20.3 20.4 21.1+6 more21.2 21.3 21.4 22.1 22.2 < 19.4 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Juniper SRX100, Juniper SRX110, Juniper SRX1400, Juniper SRX210, Juniper SRX220, Juniper SRX240, Juniper SRX3400, Juniper SRX3600, Juniper SRX550, Juniper SRX5600, Juniper SRX5800, Juniper SRX650
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2023-22409 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-062719-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Published | 2023-01-13 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.