CVE-2024-21591

Junos OS: SRX Series and EX Series: Security Vulnerability in J-web allows a preAuth Remote Code Execution

AllVuln state: AFFECTED

CRITICAL
CVSS
9.8
3.1
EPSS
17.67%
Percentile 97.24%
CISA KEV
Not listed
Published
January 12, 2024
Updated October 25, 2024

Description

An Out-of-bounds Write vulnerability in J-Web of Juniper Networks Junos OS on SRX Series and EX Series allows an unauthenticated, network-based attacker to cause a Denial of Service (DoS), or Remote Code Execution (RCE) and obtain root privileges on the device. This issue is caused by use of an insecure function allowing an attacker to overwrite arbitrary memory. This issue affects Juniper Networks Junos OS SRX Series and EX Series: * Junos OS versions earlier than 20.4R3-S9; * Junos OS 21.2 versions earlier than 21.2R3-S7; * Junos OS 21.3 versions earlier than 21.3R3-S5; * Junos OS 21.4 versions earlier than 21.4R3-S5; * Junos OS 22.1 versions earlier than 22.1R3-S4; * Junos OS 22.2 versions earlier than 22.2R3-S3; * Junos OS 22.3 versions earlier than 22.3R3-S2; * Junos OS 22.4 versions earlier than 22.4R2-S2, 22.4R3.

Risk details

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

What should I do?

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

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-S9
NOT_AFFECTED · EXACT
20.4R3-S9
AFFECTED · RANGE
21.2R3-S7
NOT_AFFECTED · EXACT
21.2R3-S7
AFFECTED · RANGE
21.3R3-S5
NOT_AFFECTED · EXACT
21.3R3-S5
AFFECTED · RANGE
21.4R3-S5
NOT_AFFECTED · EXACT
21.4R3-S5
AFFECTED · RANGE
22.1R3-S4
NOT_AFFECTED · EXACT
22.1R3-S4
AFFECTED · RANGE
22.2R3-S3
NOT_AFFECTED · EXACT
22.2R3-S3
AFFECTED · RANGE
22.3R3-S2
NOT_AFFECTED · EXACT
22.3R3-S2
UNKNOWN · UNKNOWN
{"lessThan": "22.4R2-S2, 22.4R3", "status": "affected", "version": "22.4", "versionType": "semver"}
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 20.4
First fixed: 20.4R3-S9
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R3-S7
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.3
First fixed: 21.3R3-S5
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.4
First fixed: 21.4R3-S5
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.1
First fixed: 22.1R3-S4
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.2
First fixed: 22.2R3-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.3
First fixed: 22.3R3-S2
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
20.4R3-S9
Platform: SRX Series
Required configuration: The following minimal configuration must be present on the device: [system services web-management http]or [system services web-management https]
AFFECTED · RANGE
20.4R3-S9
Platform: EX Series
Required configuration: The following minimal configuration must be present on the device: [system services web-management http]or [system services web-management https]
AFFECTED · RANGE
21.2 → 21.2R3-S7
Platform: SRX Series
Required configuration: The following minimal configuration must be present on the device: [system services web-management http]or [system services web-management https]
AFFECTED · RANGE
21.2 → 21.2R3-S7
Platform: EX Series
Required configuration: The following minimal configuration must be present on the device: [system services web-management http]or [system services web-management https]
AFFECTED · RANGE
21.3 → 21.3R3-S5
Platform: SRX Series
Required configuration: The following minimal configuration must be present on the device: [system services web-management http]or [system services web-management https]
AFFECTED · RANGE
21.3 → 21.3R3-S5
Platform: EX Series
Required configuration: The following minimal configuration must be present on the device: [system services web-management http]or [system services web-management https]
AFFECTED · RANGE
21.4 → 21.4R3-S5
Platform: SRX Series
Required configuration: The following minimal configuration must be present on the device: [system services web-management http]or [system services web-management https]
AFFECTED · RANGE
21.4 → 21.4R3-S5
Platform: EX Series
Required configuration: The following minimal configuration must be present on the device: [system services web-management http]or [system services web-management https]
AFFECTED · RANGE
22.1 → 22.1R3-S4
Platform: SRX Series
Required configuration: The following minimal configuration must be present on the device: [system services web-management http]or [system services web-management https]
AFFECTED · RANGE
22.1 → 22.1R3-S4
Platform: EX Series
Required configuration: The following minimal configuration must be present on the device: [system services web-management http]or [system services web-management https]
AFFECTED · RANGE
22.2 → 22.2R3-S3
Platform: SRX Series
Required configuration: The following minimal configuration must be present on the device: [system services web-management http]or [system services web-management https]
AFFECTED · RANGE
22.2 → 22.2R3-S3
Platform: EX Series
Required configuration: The following minimal configuration must be present on the device: [system services web-management http]or [system services web-management https]
AFFECTED · RANGE
22.3 → 22.3R3-S2
Platform: SRX Series
Required configuration: The following minimal configuration must be present on the device: [system services web-management http]or [system services web-management https]
AFFECTED · RANGE
22.3 → 22.3R3-S2
Platform: EX Series
Required configuration: The following minimal configuration must be present on the device: [system services web-management http]or [system services web-management https]
AFFECTED · RANGE
22.4 → 22.4R2-S2, 22.4R3
Platform: SRX Series
Required configuration: The following minimal configuration must be present on the device: [system services web-management http]or [system services web-management https]
AFFECTED · RANGE
22.4 → 22.4R2-S2, 22.4R3
Platform: EX Series
Required configuration: The following minimal configuration must be present on the device: [system services web-management http]or [system services web-management https]

Remediation

UNKNOWN
Release train: 20.4R3
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
UNKNOWN
Release train: 21.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.4
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.

CVE-2024-21591 – Junos OS Affected Versions & Fix | AllVuln