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

- Severity: Critical 9.8 (CVSS:3.1, scored by juniper) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 17.7%, higher than 97% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-01-12T00:52:04.028Z
- Modified: 2026-06-17T07:09:46.790Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: juniper

## 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.

(As written by CVE List.)

## Affected

- Juniper Networks Junos OS: before 20.4R3-S9; from 21.2 before 21.2R3-S7; from 21.3 before 21.3R3-S5; from 21.4 before 21.4R3-S5; from 22.1 before 22.1R3-S4; from 22.2 before 22.2R3-S3; from 22.3 before 22.3R3-S2; from 22.4 before 22.4R2-S2, 22.4R3
- juniper junos: before 20.4; 20.4; 21.2; 21.3; 21.4

## Every score

- juniper: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://curesec.com/blog/article/CVE-2024-21591_Juniper_Remote_Code_Exec.html> (exploit, third-party-advisory)
- <https://supportportal.juniper.net/JSA75729> (vendor-advisory)
- <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> (technical-description, third-party-advisory)

## Sources

- CVE List: [CVE-2024-21591](https://www.cve.org/CVERecord?id=CVE-2024-21591), CVE Terms of Use, modified 2024-10-25
- NVD: [CVE-2024-21591](https://nvd.nist.gov/vuln/detail/CVE-2024-21591), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-21591 · Whole record: https://cve.day/CVE-2024-21591.json · Rebuilt by cve.day 2026-11-25T22:58:36.052Z
