CVE-2023-22409: Juniper Networks Junos OS - Denial of Service
- Cve: CVE-2023-22409
- Name: Juniper Networks Junos OS - Denial of Service
- 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.
- Impact: Authenticated local attackers can cause a denial of service (DoS) by crashing and restarting the SPC, leading to service disruption.
- Remediation: Update to Junos OS version 19.4R3-S10, 20.1R1, 20.2R3-S6, 20.3R3-S6, 20.4R3-S5, 21.1R3-S4, 21.2R3-S3, 21.3R3-S3, 21.4R3-S1, 22.1R2-S2, or later versions.
- Vulnerability impact: denial_of_service
- Requirement type: logged_in
- Requirements: Attacker must be authenticated with low privileges and have specific NAT configuration
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00181
- Epss percentile: 0.07703
- Assignee: [email protected]
- Published at: 2023-01-13T00:15:11Z
- Age in days: 1411
- Modified at: 2026-06-17T05:35:23Z
- Patch available: yes
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-22409
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: vulnerability type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-1284 | Improper Validation of Specified Quantity in Input |
References
| Url | Source | Tags |
|---|---|---|
| https://kb.juniper.net/JSA70205 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| juniper:junos | = 22.2 r1, = 22.2 r1-s1, = 22.2 r1-s2, = 22.1 r1, = 22.1 r1-s1, = 22.1 r1-s2, = 22.1 r2, = 22.1 r2-s1, = 21.4, = 21.4 r1, = 21.4 r1-s1, = 21.4 r1-s2, = 21.4 r2, = 21.4 r2-s1, = 21.4 r2-s2, = 21.4 r3, = 21.3, = 21.3 r1, = 21.3 r1-s1, = 21.3 r1-s2, = 21.3 r2, = 21.3 r2-s1, = 21.3 r2-s2, = 21.3 r3, = 21.3 r3-s1, = 21.3 r3-s2, = 21.2, = 21.2 r1, = 21.2 r1-s1, = 21.2 r1-s2, = 21.2 r2, = 21.2 r2-s1, = 21.2 r2-s2, = 21.2 r3, = 21.2 r3-s1, = 21.2 r3-s2, = 21.1, = 21.1 r1, = 21.1 r1-s1, = 21.1 r2, = 21.1 r2-s1, = 21.1 r2-s2, = 21.1 r3, = 21.1 r3-s1, = 21.1 r3-s2, = 21.1 r3-s3, = 20.4, = 20.4 r1, = 20.4 r1-s1, = 20.4 r2, = 20.4 r2-s1, = 20.4 r2-s2, = 20.4 r3, = 20.4 r3-s1, = 20.4 r3-s2, = 20.4 r3-s3, = 20.4 r3-s4, = 20.3, = 20.3 r1, = 20.3 r1-s1, = 20.3 r1-s2, = 20.3 r2, = 20.3 r2-s1, = 20.3 r3, = 20.3 r3-s1, = 20.3 r3-s2, = 20.3 r3-s3, = 20.3 r3-s4, = 20.3 r3-s5, = 20.2, = 20.2 r1, = 20.2 r1-s1, = 20.2 r1-s2, = 20.2 r1-s3, = 20.2 r2, = 20.2 r2-s1, = 20.2 r2-s2, = 20.2 r2-s3, = 20.2 r3, = 20.2 r3-s1, = 20.2 r3-s2, = 20.2 r3-s3, = 20.2 r3-s4, = 20.2 r3-s5, = 20.1 r1, = 20.1 r1-s1, = 20.1 r1-s2, = 20.1 r1-s3, = 20.1 r1-s4, = 20.1 r2, = 20.1 r2-s1, = 20.1 r2-s2, = 20.1 r3, = 20.1 r3-s1, = 20.1 r3-s2, = 20.1 r3-s3, = 20.1 r3-s4, < 19.4, = 19.4, = 19.4 r1, = 19.4 r1-s1, = 19.4 r1-s2, = 19.4 r1-s3, = 19.4 r1-s4, = 19.4 r2, = 19.4 r2-s1, = 19.4 r2-s2, = 19.4 r2-s3, = 19.4 r2-s4, = 19.4 r2-s5, = 19.4 r2-s6, = 19.4 r2-s7, = 19.4 r3, = 19.4 r3-s1, = 19.4 r3-s2, = 19.4 r3-s3, = 19.4 r3-s4, = 19.4 r3-s5, = 19.4 r3-s6, = 19.4 r3-s7, = 19.4 r3-s8, = 19.4 r3-s9 | yes | nvd | /v1/products/juniper/junos |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 23086
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports