CVE-2024-21591
CVE-2024-21591 is a critical-severity vulnerability in Juniper Junos with a CVSS 3.x base score of 9.8. Its EPSS exploit-prediction score of 18% places it in the 97th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-787.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 18% (97th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-19239
- Weakness: CWE-787
- Affected product: Juniper Junos
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-21591?
- 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.
- How severe is CVE-2024-21591?
- CVE-2024-21591 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-21591 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 18% (97th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-21591?
- CVE-2024-21591 primarily affects Juniper Junos. In total, 90 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-21591?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2024-21591 have an EU (EUVD) identifier?
- Yes. CVE-2024-21591 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-19239.
- When was CVE-2024-21591 published?
- CVE-2024-21591 was published on 2024-01-12 and last updated on 2026-06-17.
References
- https://curesec.com/blog/article/CVE-2024-21591_Juniper_Remote_Code_Exec.html
- https://supportportal.juniper.net/JSA75729
- https://www.first.org/cvss/calculator/4.0#CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected products (90)
- cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.4:-:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.4:r1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.4:r1-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.4:r2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.4:r2-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.4:r2-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.4:r3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.4:r3-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.4:r3-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.4:r3-s3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.4:r3-s4:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.4:r3-s5:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.4:r3-s6:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.4:r3-s7:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:20.4:r3-s8:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:-:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r1-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r1-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r2-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r2-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r3-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r3-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r3-s3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r3-s4:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r3-s5:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.2:r3-s6:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.3:-:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.3:r1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.3:r1-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.3:r1-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.3:r2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.3:r2-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.3:r2-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.3:r3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.3:r3-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:21.3:r3-s2:*:*:*:*:*:*
More vulnerabilities in Juniper Junos
- CVE-2021-0248 — Critical (CVSS 10.0): This issue is not applicable to NFX NextGen Software. On NFX Series devices the use of Hard-coded Credentials in…
- CVE-2021-0211 — Critical (CVSS 10.0): An improper check for unusual or exceptional conditions in Juniper Networks Junos OS and Junos OS Evolved Routing…
- CVE-2020-1614 — Critical (CVSS 10.0): A Use of Hard-coded Credentials vulnerability exists in the NFX250 Series for the vSRX Virtual Network Function (VNF)…
- CVE-2017-2343 — Critical (CVSS 10.0): The Integrated User Firewall (UserFW) feature was introduced in Junos OS version 12.1X47-D10 on the Juniper SRX Series…
- CVE-2013-4685 — Critical (CVSS 10.0): Buffer overflow in flowd in Juniper Junos 10.4 before 10.4S14, 11.4 before 11.4R7, 12.1 before 12.1R6, and 12.1X44…
- CVE-2017-2349 — Critical (CVSS 9.9): A command injection vulnerability in the IDP feature of Juniper Networks Junos OS on SRX series devices potentially…
All CVEs affecting Juniper Junos →
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…