Product Affected

This issue affects all versions of Junos OS. Affected platforms: SRX Series, and MX Series with SPC3.
High
7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)

Problem

An Out-of-bounds Write vulnerability in the Internet Key Exchange Protocol daemon (iked) of Juniper Networks Junos OS on SRX series and MX with SPC3 allows an authenticated, network-based attacker to cause a Denial of Service (DoS).
 

iked will crash and restart, and the tunnel will not come up when a peer sends a specifically formatted payload during the negotiation. This will impact other IKE negotiations happening at the same time. Continued receipt of this specifically formatted payload will lead to continuous crashing of iked and thereby the inability for any IKE negotiations to take place.

Note that this payload is only processed after the authentication has successfully completed. So the issue can only be exploited by an attacker who can successfully authenticate.
 

This issue affects Juniper Networks Junos OS on SRX Series, and MX Series with SPC3:

  • All versions prior to 19.3R3-S7;
  • 19.4 versions prior to 19.4R3-S9;
  • 20.2 versions prior to 20.2R3-S5;
  • 20.3 versions prior to 20.3R3-S5;
  • 20.4 versions prior to 20.4R3-S4;
  • 21.1 versions prior to 21.1R3-S3;
  • 21.2 versions prior to 21.2R3-S2;
  • 21.3 versions prior to 21.3R3-S1;
  • 21.4 versions prior to 21.4R2-S1, 21.4R3;
  • 22.1 versions prior to 22.1R1-S2, 22.1R2.


To be affected by this issue IPsec VPN configuration needs to present similar to the following example:

[ security ike proposal <ike-proposal> ... ]
[ security ike policy <ike-policy> ... ]
[ security ike gateway <gateway-name> ... ]
[ security ipsec proposal <ipsec-proposal> ... ]
[ security ipsec policy <ipsec-policy> ... ]
[ security ipsec vpn <vpn-name> ike gateway <gateway-name> ]
[ security ipsec vpn <vpn-name> ike ipsec-policy <ipsec-policy> ]
[ security ipsec vpn <vpn-name> bind-interface <interface> ]

and the system needs to run iked (vs. kmd which is not affected), which can be verified with:

show system processes extensive | match "KMD|IKED"


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


This issue was seen during production usage.


This issue has been assigned CVE-2023-22404.

Solution

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


This issue is being tracked as 1665150.


Note: Juniper SIRT's policy is not to evaluate releases which are beyond End of Engineering (EOE) or End of Life (EOL).

Workaround

There are no known workarounds for this issue.

Severity Assessment

Information for how Juniper Networks uses CVSS can be found at KB 16446 [juniper.net] "Common Vulnerability Scoring System (CVSS) and Juniper's Security Advisories."

Modification History

  • 2023-01-11: Initial Publication

Related Information