CVE-2023-22409
CVE-2023-22409 is a medium-severity vulnerability in Juniper Junos with a CVSS 3.x base score of 5.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-1284.
Key facts
- Severity: Medium (CVSS 3.x base score 5.5)
- EPSS exploit prediction: 0% (7th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-1284
- Affected product: Juniper Junos
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2023-22409?
- 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.
- How severe is CVE-2023-22409?
- CVE-2023-22409 has a CVSS 3.x base score of 5.5, rated medium severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2023-22409 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (7th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-22409?
- CVE-2023-22409 primarily affects Juniper Junos. In total, 122 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2023-22409?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2023-22409 published?
- CVE-2023-22409 was published on 2023-01-13 and last updated on 2026-06-17.
References
Affected products (122)
- cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:-:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r1-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r1-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r1-s3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r1-s4:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r2-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r2-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r2-s3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r2-s4:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r2-s5:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r2-s6:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r2-s7:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r3-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r3-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r3-s3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r3-s4:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r3-s5:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r3-s6:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r3-s7:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r3-s8:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:19.4:r3-s9:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.1:r1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.1:r1-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.1:r1-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.1:r1-s3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.1:r1-s4:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.1:r2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.1:r2-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.1:r2-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.1:r3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.1:r3-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.1:r3-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.1:r3-s3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.1:r3-s4:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.2:-:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.2:r1:*:*:*:*:*:*
More vulnerabilities in Juniper Junos
- CVE-2021-0248 — Critical (CVSS 10.0): This issue is not applicable to NFX NextGen Software. On NFX Series devices the use of Hard-coded Credentials in…
- CVE-2021-0211 — Critical (CVSS 10.0): An improper check for unusual or exceptional conditions in Juniper Networks Junos OS and Junos OS Evolved Routing…
- CVE-2020-1614 — Critical (CVSS 10.0): A Use of Hard-coded Credentials vulnerability exists in the NFX250 Series for the vSRX Virtual Network Function (VNF)…
- CVE-2017-2343 — Critical (CVSS 10.0): The Integrated User Firewall (UserFW) feature was introduced in Junos OS version 12.1X47-D10 on the Juniper SRX Series…
- CVE-2013-4685 — Critical (CVSS 10.0): Buffer overflow in flowd in Juniper Junos 10.4 before 10.4S14, 11.4 before 11.4R7, 12.1 before 12.1R6, and 12.1X44…
- CVE-2017-2349 — Critical (CVSS 9.9): A command injection vulnerability in the IDP feature of Juniper Networks Junos OS on SRX series devices potentially…
All CVEs affecting Juniper Junos →
Other CWE-1284 (Improper Validation of Specified Quantity in Input) vulnerabilities
- CVE-2026-49777 — Critical (CVSS 10.0): Improper Validation of Specified Quantity in Input vulnerability in ShapedPlugin, LLC Product Slider Pro for…
- CVE-2024-8887 — Critical (CVSS 10.0): CIRCUTOR Q-SMT in its firmware version 1.0.4, could be affected by a denial of service (DoS) attack if an attacker with…
- CVE-2022-20699 — Critical (CVSS 10.0): Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could allow an attacker…
- CVE-2021-21960 — Critical (CVSS 10.0): A stack-based buffer overflow vulnerability exists in both the LLMNR functionality of Sealevel Systems, Inc. SeaConnect…
- CVE-2021-21951 — Critical (CVSS 10.0): An out-of-bounds write vulnerability exists in the CMD_DEVICE_GET_SERVER_LIST_REQUEST functionality of the…
- CVE-2021-21950 — Critical (CVSS 10.0): An out-of-bounds write vulnerability exists in the CMD_DEVICE_GET_SERVER_LIST_REQUEST functionality of the…
Browse all CWE-1284 (Improper Validation of Specified Quantity in Input) vulnerabilities →