Skip to main content
No exploitation reportedFix available

CVE-2024-21591

No exploitation reported by the sources we read.

  • Published2024-01-12
  • Fixed in20.4
  • WeaknessCWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2024-01-1201:15CVE publishedNVD

Versions per branch

NVD
Juniper junos
BranchAffectedFixed in
20.4< 20.420.4
20.4= 20.4no fix published
21.2= 21.2no fix published
21.3= 21.3no fix published
21.4= 21.4no fix published
22.1= 22.1no fix published
22.2= 22.2no fix published
22.3= 22.3no fix published
22.4= 22.4no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As juniper, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Juniper Networks Junos OSother versions: not affected

    platforms: SRX Series, EX Series

    Affected
    • < 20.4R3-S9fixed in 20.4R3-S9semver
    • ≥ 21.2, < 21.2R3-S7fixed in 21.2R3-S7semver
    • ≥ 21.3, < 21.3R3-S5fixed in 21.3R3-S5semver
    • ≥ 21.4, < 21.4R3-S5fixed in 21.4R3-S5semver
    • ≥ 22.1, < 22.1R3-S4fixed in 22.1R3-S4semver
    • ≥ 22.2, < 22.2R3-S3fixed in 22.2R3-S3semver
    • ≥ 22.3, < 22.3R3-S2fixed in 22.3R3-S2semver
    • ≥ 22.4, < 22.4R2-S2, 22.4R3fixed in 22.4R2-S2, 22.4R3semver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-02-09

Fix

  1. Update Juniper junos to 20.4

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2024-10-25
  • CNACVSS 3.19.8known since 2026-10-23
  • NVDCVSS 3.19.8read 2026-10-23
  • CNAweakness (CWE)CWE-787known since 2026-10-23
  • NVDweakness (CWE)CWE-787read 2026-10-23
  • FIRST EPSSEPSS score17.7 %read 2026-11-18
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2024-01-12
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-j7xq-gvq8-pr7m

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.

Is CVE-2024-21591 actively exploited?

Active exploitation of CVE-2024-21591 has not been confirmed. Its EPSS score was 17.7% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-21591?

CVE-2024-21591 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record