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
Mitigation
- Vendor workaround: There are no known workarounds for this issue.
Who should check
- Anyone running Juniper Networks Junos OS < 20.4R3-S7; >= 21.1, < 21.1R3; >= 21.2, < 21.2R2-S1, 21.2R3; >= 21.3, < 21.3R1-S2, 21.3R2
Vulnerability facts
- Affected
- Juniper Networks Junos OS < 20.4R3-S7; >= 21.1, < 21.1R3; >= 21.2, < 21.2R2-S1, 21.2R3; >= 21.3, < 21.3R1-S2, 21.3R2
- Fixed in
- Juniper Networks Junos OS 20.4R3-S7, Juniper Networks Junos OS 21.1R3, Juniper Networks Junos OS 21.2R2-S1, Juniper Networks Junos OS 21.3R1-S2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: Low
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.64% chance of exploitation in 30 days (percentile 45, 2026-11-26)
- CWE
- CWE-306
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Juniper Networks Junos OS | < 20.4R3-S7; >= 21.1, < 21.1R3; >= 21.2, < 21.2R2-S1, 21.2R3; >= 21.3, < 21.3R1-S2, 21.3R2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-30391. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-30391.md Affected: Juniper Networks Junos OS < 20.4R3-S7; >= 21.1, < 21.1R3; >= 21.2, < 21.2R2-S1, 21.2R3; >= 21.3, < 21.3R1-S2, 21.3R2 Fixed in: Juniper Networks Junos OS 20.4R3-S7, Juniper Networks Junos OS 21.1R3, Juniper Networks Junos OS 21.2R2-S1, Juniper Networks Junos OS 21.3R1-S2 Steps: 1. Search this machine and project for Juniper Networks Junos OS: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2024-30391 being exploited?
There is no confirmed exploitation: CVE-2024-30391 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.64% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-30391?
Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-30391?
Juniper Networks Junos OS < 20.4R3-S7; >= 21.1, < 21.1R3; >= 21.2, < 21.2R2-S1, 21.2R3; >= 21.3, < 21.3R1-S2, 21.3R2.
Is there a fix for CVE-2024-30391?
Yes. Fixed in Juniper Networks Junos OS 20.4R3-S7, Juniper Networks Junos OS 21.1R3, Juniper Networks Junos OS 21.2R2-S1, Juniper Networks Junos OS 21.3R1-S2. Vendor workaround: There are no known workarounds for this issue.
How do I check if I'm affected by CVE-2024-30391?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.