# CVE-2024-30391: Junos OS: MX Series with SPC3, and SRX Series: When IPsec authentication is configured with "hmac-sha-384" and "hmac-sha-512" no authentication of traffic is performed

- Vendor: Juniper Networks, Junos OS
- Severity: MEDIUM (CVSS 4.0 6.3)
- Exploited (CISA KEV): not listed
- EPSS: 0.4% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: JSA79188, http://supportportal.juniper.net/JSA79188
- Published: 2024-04-10; updated: 2024-05-16
- Page: https://patchtonight.com/cve/CVE-2024-30391/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Junos OS (SRX Series, MX Series with SPC3) 0 | 20.4R3-S7 or later |
| Junos OS (SRX Series, MX Series with SPC3) 21.1 | 21.1R3 or later |
| Junos OS (SRX Series, MX Series with SPC3) 21.2 | 21.2R2-S1, 21.2R3 or later |
| Junos OS (SRX Series, MX Series with SPC3) 21.3 | 21.3R1-S2, 21.3R2 or later |

## The vendor's description

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.

## Workarounds

There are no known workarounds for this issue.

## Sources

- [Juniper Networks advisory](http://supportportal.juniper.net/JSA79188)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
