CVE-2024-21591
No exploitation reported by the sources we read.
- Published2024-01-12
- Fixed in20.4
- WeaknessCWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2024-01-1201:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 20.4 | < 20.4 | 20.4 | NVD |
| 20.4 | = 20.4 | no fix published | NVD |
| 21.2 | = 21.2 | no fix published | NVD |
| 21.3 | = 21.3 | no fix published | NVD |
| 21.4 | = 21.4 | no fix published | NVD |
| 22.1 | = 22.1 | no fix published | NVD |
| 22.2 | = 22.2 | no fix published | NVD |
| 22.3 | = 22.3 | no fix published | NVD |
| 22.4 | = 22.4 | no fix published | NVD |
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
- Update Juniper junos to 20.4
Advisories and patches
- supportportal.juniper.netVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-19
- 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
- EUVD-2024-19239same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-j7xq-gvq8-pr7msame flawGitHub Advisory Database · CC-BY-4.0
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?
Is CVE-2024-21591 actively exploited?
What is the CVSS score for CVE-2024-21591?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-j7xq-gvq8-pr7m
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- CISA Vulnrichment · CC0-1.0