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.
References
Link | Resource |
---|---|
https://kb.juniper.net/JSA70205 | Vendor Advisory |
https://kb.juniper.net/JSA70205 | Vendor Advisory |
Configurations
Configuration 1 (hide)
AND |
|
History
21 Nov 2024, 07:44
Type | Values Removed | Values Added |
---|---|---|
References | () https://kb.juniper.net/JSA70205 - Vendor Advisory | |
Summary |
|
Information
Published : 2023-01-13 00:15
Updated : 2024-11-21 07:44
NVD link : CVE-2023-22409
Mitre link : CVE-2023-22409
CVE.ORG link : CVE-2023-22409
JSON object : View
Products Affected
juniper
- mx2008
- srx4000
- srx3600
- mx10
- srx1400
- srx210
- mx10003
- srx650
- mx150
- srx110
- srx550
- junos
- srx4100
- mx10008
- srx340
- srx550_hm
- mx2010
- mx80
- srx1500
- srx240m
- srx3400
- srx345
- srx4200
- srx5400
- mx2020
- mx480
- srx320
- mx40
- mx10016
- mx104
- srx100
- srx300
- mx240
- srx240
- srx240h2
- mx960
- srx550m
- mx10000
- srx4600
- mx204
- srx5000
- mx5
- srx5800
- srx5600
- srx380
- srx220
CWE
CWE-1284
Improper Validation of Specified Quantity in Input