Product Affected

This issue affects all versions of Junos OS.
Medium
CVSS 3.1: 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
CVSS 4.0: 6.3 CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Problem

A Missing Authentication for Critical Function vulnerability in the Packet Forwarding Engine (pfe) of Juniper Networks Junos OS on MX Series with SPC3, and SRX Series allows an unauthenticated network-based attacker to cause limited impact to the integrity or availability of the device.

If a device is configured with IPsec authentication algorithm hmac-sha-384 or hmac-sha-512, tunnels are established normally but for traffic traversing the tunnel no authentication information is sent with the encrypted data on egress, and no authentication information is expected on ingress. So if the peer is an unaffected device transit traffic is going to fail in both directions. If the peer is an also affected device transit traffic works, but without authentication, and configuration and CLI operational commands indicate authentication is performed.

This issue affects Junos OS:

  • All versions before 20.4R3-S7,
  • 21.1 versions before 21.1R3, 
  • 21.2 versions before 21.2R2-S1, 21.2R3, 
  • 21.3 versions before 21.3R1-S2, 21.3R2.

For a device to be affected IPsec must be configured with either hmac-sha-384 or hmac-sha-512 as follows:

  [security ipsec proposal <proposal> authentication-algorithm hmac-sha-384/hmac-sha-512]

Solution

The following software releases have been updated to resolve this specific issue: 20.4R3-S7, 21.1R3, 21.2R2-S1, 21.2R3, 21.3R1-S2, 21.3R2, 21.4R1, and all subsequent releases.

Please note that for releases earlier than 21.1 the affected CLI options have been removed. For releases from 21.1 onwards, the issue has been fixed.

This issue is being tracked as 1557177 which is visible on the Customer Support website.

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

2024-04-10 - Initial Publication
2024-09-13: Minor formatting change to CVSS field

Related Information