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

AllVuln state: AFFECTED

MEDIUM
CVSS
4.8
3.1
EPSS
0.43%
Percentile 39.45%
CISA KEV
Not listed
Published
April 12, 2024
Updated August 9, 2024

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.

Risk details

CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
attack vector
N
attack complexity
H
privileges required
N
user interaction
N
scope
U
CWE
CWE-306

What should I do?

Review the vendor remediation for fixed or recommended release 20.4R3-S7.

Supported product evidence

Juniper Networks · Junos OS
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
20.4R3-S7
NOT_AFFECTED · EXACT
20.4R3-S7
AFFECTED · RANGE
21.1R3
NOT_AFFECTED · EXACT
21.1R3
UNKNOWN · UNKNOWN
{"lessThan": "21.2R2-S1, 21.2R3", "status": "affected", "version": "21.2", "versionType": "semver"}
UNKNOWN · UNKNOWN
{"lessThan": "21.3R1-S2, 21.3R2", "status": "affected", "version": "21.3", "versionType": "semver"}
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 20.4
First fixed: 20.4R3-S7
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.1
First fixed: 21.1R3
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
20.4R3-S7
Platform: SRX Series
Required configuration: 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 ]
AFFECTED · RANGE
20.4R3-S7
Platform: MX Series with SPC3
Required configuration: 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 ]
AFFECTED · RANGE
21.1 → 21.1R3
Platform: SRX Series
Required configuration: 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 ]
AFFECTED · RANGE
21.1 → 21.1R3
Platform: MX Series with SPC3
Required configuration: 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 ]
AFFECTED · RANGE
21.2 → 21.2R2-S1, 21.2R3
Platform: SRX Series
Required configuration: 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 ]
AFFECTED · RANGE
21.2 → 21.2R2-S1, 21.2R3
Platform: MX Series with SPC3
Required configuration: 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 ]
AFFECTED · RANGE
21.3 → 21.3R1-S2, 21.3R2
Platform: SRX Series
Required configuration: 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 ]
AFFECTED · RANGE
21.3 → 21.3R1-S2, 21.3R2
Platform: MX Series with SPC3
Required configuration: 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 ]

Remediation

UNKNOWN
Release train: 20.4R3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.3
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.