Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2023-22409

Summary
Assigner-juniper
Assigner Org ID-8cbe9d5a-a066-4c94-8978-4b15efeae968
Published At-12 Jan, 2023 | 00:00
Updated At-07 Apr, 2025 | 15:33
Rejected At-
Credits

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

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:juniper
Assigner Org ID:8cbe9d5a-a066-4c94-8978-4b15efeae968
Published At:12 Jan, 2023 | 00:00
Updated At:07 Apr, 2025 | 15:33
Rejected At:
▼CVE Numbering Authority (CNA)
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

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.

Affected Products
Vendor
Juniper Networks, Inc.Juniper Networks
Product
Junos OS
Platforms
  • SRX Series, MX Series with SPC3
Versions
Affected
  • From unspecified before 19.4R3-S10 (custom)
  • From 20.1R1 before 20.1* (custom)
  • From 20.2 before 20.2R3-S6 (custom)
  • From 20.3 before 20.3R3-S6 (custom)
  • From 20.4 before 20.4R3-S5 (custom)
  • From 21.1 before 21.1R3-S4 (custom)
  • From 21.2 before 21.2R3-S3 (custom)
  • From 21.3 before 21.3R3-S3 (custom)
  • From 21.4 before 21.4R3-S1 (custom)
  • From 22.1 before 22.1R2-S2, 22.1R3 (custom)
  • From 22.2 before 22.2R2 (custom)
Problem Types
TypeCWE IDDescription
textN/A606 Unchecked Input for Loop Condition
textN/ADenial of Service (DoS)
Type: text
CWE ID: N/A
Description: 606 Unchecked Input for Loop Condition
Type: text
CWE ID: N/A
Description: Denial of Service (DoS)
Metrics
VersionBase scoreBase severityVector
3.15.5MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Version: 3.1
Base score: 5.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

The following software releases have been updated to resolve this specific issue: 19.4R3-S10, 20.2R3-S6, 20.3R3-S6, 20.4R3-S5, 21.1R3-S4, 21.2R3-S3, 21.3R3-S3, 21.4R3-S1, 22.1R2-S2, 22.1R3, 22.2R2, 22.3R1, and all subsequent releases.

Configurations

Workarounds

Please ensure the deterministic NAT configuration is consistent as shown in the description of the problem section.

Exploits

Juniper SIRT is not aware of any malicious exploitation of this vulnerability.

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://kb.juniper.net/JSA70205
N/A
Hyperlink: https://kb.juniper.net/JSA70205
Resource: N/A
▼Authorized Data Publishers (ADP)
1. CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://kb.juniper.net/JSA70205
x_transferred
Hyperlink: https://kb.juniper.net/JSA70205
Resource:
x_transferred
2. CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:sirt@juniper.net
Published At:13 Jan, 2023 | 00:15
Updated At:24 Jan, 2023 | 17:18

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.15.5MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Type: Primary
Version: 3.1
Base score: 5.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CPE Matches

Juniper Networks, Inc.
juniper
>>mx10>>-
cpe:2.3:h:juniper:mx10:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>mx10000>>-
cpe:2.3:h:juniper:mx10000:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>mx10003>>-
cpe:2.3:h:juniper:mx10003:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>mx10008>>-
cpe:2.3:h:juniper:mx10008:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>mx10016>>-
cpe:2.3:h:juniper:mx10016:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>mx104>>-
cpe:2.3:h:juniper:mx104:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>mx150>>-
cpe:2.3:h:juniper:mx150:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>mx2008>>-
cpe:2.3:h:juniper:mx2008:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>mx2010>>-
cpe:2.3:h:juniper:mx2010:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>mx2020>>-
cpe:2.3:h:juniper:mx2020:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>mx204>>-
cpe:2.3:h:juniper:mx204:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>mx240>>-
cpe:2.3:h:juniper:mx240:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>mx40>>-
cpe:2.3:h:juniper:mx40:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>mx480>>-
cpe:2.3:h:juniper:mx480:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>mx5>>-
cpe:2.3:h:juniper:mx5:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>mx80>>-
cpe:2.3:h:juniper:mx80:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>mx960>>-
cpe:2.3:h:juniper:mx960:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx100>>-
cpe:2.3:h:juniper:srx100:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx110>>-
cpe:2.3:h:juniper:srx110:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx1400>>-
cpe:2.3:h:juniper:srx1400:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx1500>>-
cpe:2.3:h:juniper:srx1500:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx210>>-
cpe:2.3:h:juniper:srx210:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx220>>-
cpe:2.3:h:juniper:srx220:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx240>>-
cpe:2.3:h:juniper:srx240:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx240h2>>-
cpe:2.3:h:juniper:srx240h2:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx240m>>-
cpe:2.3:h:juniper:srx240m:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx300>>-
cpe:2.3:h:juniper:srx300:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx320>>-
cpe:2.3:h:juniper:srx320:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx340>>-
cpe:2.3:h:juniper:srx340:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx3400>>-
cpe:2.3:h:juniper:srx3400:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx345>>-
cpe:2.3:h:juniper:srx345:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx3600>>-
cpe:2.3:h:juniper:srx3600:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx380>>-
cpe:2.3:h:juniper:srx380:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx4000>>-
cpe:2.3:h:juniper:srx4000:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx4100>>-
cpe:2.3:h:juniper:srx4100:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx4200>>-
cpe:2.3:h:juniper:srx4200:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx4600>>-
cpe:2.3:h:juniper:srx4600:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx5000>>-
cpe:2.3:h:juniper:srx5000:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx5400>>-
cpe:2.3:h:juniper:srx5400:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx550>>-
cpe:2.3:h:juniper:srx550:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx550_hm>>-
cpe:2.3:h:juniper:srx550_hm:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx550m>>-
cpe:2.3:h:juniper:srx550m:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx5600>>-
cpe:2.3:h:juniper:srx5600:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx5800>>-
cpe:2.3:h:juniper:srx5800:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>srx650>>-
cpe:2.3:h:juniper:srx650:-:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>junos>>Versions before 19.4(exclusive)
cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>junos>>19.4
cpe:2.3:o:juniper:junos:19.4:-:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>junos>>19.4
cpe:2.3:o:juniper:junos:19.4:r1:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>junos>>19.4
cpe:2.3:o:juniper:junos:19.4:r1-s1:*:*:*:*:*:*
Juniper Networks, Inc.
juniper
>>junos>>19.4
cpe:2.3:o:juniper:junos:19.4:r1-s2:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-1284Primarynvd@nist.gov
CWE ID: CWE-1284
Type: Primary
Source: nvd@nist.gov
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://kb.juniper.net/JSA70205sirt@juniper.net
Vendor Advisory
Hyperlink: https://kb.juniper.net/JSA70205
Source: sirt@juniper.net
Resource:
Vendor Advisory

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found