SecurityContext

CVE-2024-21591: Juniper Networks Junos OS - Buffer Overflow

  • Cve: CVE-2024-21591
  • Name: Juniper Networks Junos OS - Buffer Overflow
  • 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.
  • Impact: Attackers can cause a denial of service, execute remote code, or gain root privileges on affected devices.
  • Remediation: Update to the latest Junos OS versions: 20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4, 22.2R3-S3, 22.3R3-S2, 22.4R2-S2, or 22.4R3.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.17668
  • Epss percentile: 0.97226
  • Assignee: [email protected]
  • Published at: 2024-01-12T01:15:46Z
  • Age in days: 1047
  • Modified at: 2026-06-17T07:09:46Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-21591
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://curesec.com/blog/article/CVE-2024-21591_Juniper_Remote_Code_Exec.htmlnvd2024-01-12

References

Same in every row:

  • Source: nvd
UrlTags
https://supportportal.juniper.net/JSA75729Vendor Advisory
https://curesec.com/blog/article/CVE-2024-21591_Juniper_Remote_Code_Exec.htmlExploit, Third Party 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:NThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
juniper:junos= 22.4, = 22.4 r1, = 22.4 r1-s1, = 22.4 r1-s2, = 22.4 r2, = 22.4 r2-s1, = 22.3, = 22.3 r1, = 22.3 r1-s1, = 22.3 r1-s2, = 22.3 r2, = 22.3 r2-s1, = 22.3 r2-s2, = 22.3 r3, = 22.3 r3-s1, = 22.2, = 22.2 r1, = 22.2 r1-s1, = 22.2 r1-s2, = 22.2 r2, = 22.2 r2-s1, = 22.2 r2-s2, = 22.2 r3, = 22.2 r3-s1, = 22.2 r3-s2, = 22.1, = 22.1 r1, = 22.1 r1-s1, = 22.1 r1-s2, = 22.1 r2, = 22.1 r2-s1, = 22.1 r2-s2, = 22.1 r3, = 22.1 r3-s1, = 22.1 r3-s2, = 22.1 r3-s3, = 21.4, = 21.4 r1, = 21.4 r1-s1, = 21.4 r1-s2, = 21.4 r2, = 21.4 r2-s1, = 21.4 r2-s2, = 21.4 r3, = 21.4 r3-s1, = 21.4 r3-s2, = 21.4 r3-s3, = 21.4 r3-s4, = 21.3, = 21.3 r1, = 21.3 r1-s1, = 21.3 r1-s2, = 21.3 r2, = 21.3 r2-s1, = 21.3 r2-s2, = 21.3 r3, = 21.3 r3-s1, = 21.3 r3-s2, = 21.3 r3-s3, = 21.3 r3-s4, = 21.2, = 21.2 r1, = 21.2 r1-s1, = 21.2 r1-s2, = 21.2 r2, = 21.2 r2-s1, = 21.2 r2-s2, = 21.2 r3, = 21.2 r3-s1, = 21.2 r3-s2, = 21.2 r3-s3, = 21.2 r3-s4, = 21.2 r3-s5, = 21.2 r3-s6, < 20.4, = 20.4, = 20.4 r1, = 20.4 r1-s1, = 20.4 r2, = 20.4 r2-s1, = 20.4 r2-s2, = 20.4 r3, = 20.4 r3-s1, = 20.4 r3-s2, = 20.4 r3-s3, = 20.4 r3-s4, = 20.4 r3-s5, = 20.4 r3-s6, = 20.4 r3-s7, = 20.4 r3-s8nonvd/v1/products/juniper/junos

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-01-12
  • Remote: yes
  • Exposed hosts: 23086
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports