SecurityContext

CVE-2022-22221: Juniper Networks - Command Injection

  • Cve: CVE-2022-22221
  • Name: Juniper Networks - Command Injection
  • Description: An Improper Neutralization of Special Elements vulnerability in the download manager of Juniper Networks Junos OS on SRX Series and EX Series allows a locally authenticated attacker with low privileges to take full control over the device. One aspect of this vulnerability is that the attacker needs to be able to execute any of the "request ..." or "show system download ..." commands. This issue affects Juniper Networks Junos OS on SRX Series and EX Series: All versions prior to 19.2R1-S9, 19.2R3-S5; 19.3 versions prior to 19.3R3-S6; 19.4 versions prior to 19.4R3-S8; 20.1 versions prior to 20.1R3-S4; 20.2 versions prior to 20.2R3-S4; 20.3 versions prior to 20.3R3-S3; 20.4 versions prior to 20.4R3-S2, 20.4R3-S3; 21.1 versions prior to 21.1R3-S1; 21.2 versions prior to 21.2R2-S2, 21.2R3; 21.3 versions prior to 21.3R2, 21.3R3; 21.4 versions prior to 21.4R1-S1, 21.4R2.
  • Impact: Local attackers can execute arbitrary commands, potentially gaining full control over the device.
  • Remediation: Update to Junos OS version 19.2R1-S9 or later, or the latest available version.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs to be authenticated and execute specific commands
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00221
  • Epss percentile: 0.1272
  • Assignee: [email protected]
  • Published at: 2022-07-20T15:15:09Z
  • Age in days: 1588
  • Modified at: 2026-06-17T04:28:02Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-22221
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd

Cwe

IdName
NVD-CWE-Other—

Hackerone

  • Reports: 1
  • Rank: 5211

References

UrlSourceTags
https://kb.juniper.net/JSA69725nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
juniper:junos= 21.4 r1, = 21.3 r1, = 21.3 r1-s1, = 21.3 r1-s2, = 21.2, = 21.2 r1, = 21.2 r1-s1, = 21.2 r1-s2, = 21.2 r2, = 21.2 r2-s1, = 21.1, = 21.1 r1, = 21.1 r1-s1, = 21.1 r2, = 21.1 r2-s1, = 21.1 r2-s2, = 21.1 r3, = 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.3, = 20.3 r1, = 20.3 r1-s1, = 20.3 r1-s2, = 20.3 r2, = 20.3 r2-s1, = 20.3 r3, = 20.3 r3-s1, = 20.3 r3-s2, = 20.2, = 20.2 r1, = 20.2 r1-s1, = 20.2 r1-s2, = 20.2 r1-s3, = 20.2 r2, = 20.2 r2-s1, = 20.2 r2-s2, = 20.2 r2-s3, = 20.2 r3, = 20.2 r3-s1, = 20.2 r3-s2, = 20.2 r3-s3, = 20.1, = 20.1 r1, = 20.1 r1-s1, = 20.1 r1-s2, = 20.1 r1-s3, = 20.1 r1-s4, = 20.1 r2, = 20.1 r2-s1, = 20.1 r2-s2, = 20.1 r3, = 20.1 r3-s1, = 20.1 r3-s2, = 20.1 r3-s3, = 19.4, = 19.4 r1, = 19.4 r1-s1, = 19.4 r1-s2, = 19.4 r1-s3, = 19.4 r1-s4, = 19.4 r2, = 19.4 r2-s1, = 19.4 r2-s2, = 19.4 r2-s3, = 19.4 r2-s4, = 19.4 r2-s5, = 19.4 r2-s6, = 19.4 r3, = 19.4 r3-s1, = 19.4 r3-s2, = 19.4 r3-s3, = 19.4 r3-s4, = 19.4 r3-s5, = 19.4 r3-s6, = 19.4 r3-s7, = 19.3, = 19.3 r1, = 19.3 r1-s1, = 19.3 r2, = 19.3 r2-s1, = 19.3 r2-s2, = 19.3 r2-s3, = 19.3 r2-s4, = 19.3 r2-s5, = 19.3 r2-s6, = 19.3 r3, = 19.3 r3-s1, = 19.3 r3-s2, = 19.3 r3-s3, = 19.3 r3-s4, = 19.3 r3-s5, < 19.2, = 19.2, = 19.2 r1, = 19.2 r1-s1, = 19.2 r1-s2, = 19.2 r1-s3, = 19.2 r1-s4, = 19.2 r1-s5, = 19.2 r1-s6, = 19.2 r1-s7, = 19.2 r1-s8, = 19.2 r2, = 19.2 r2-s1, = 19.2 r3, = 19.2 r3-s1, = 19.2 r3-s2, = 19.2 r3-s3, = 19.2 r3-s4yesnvd/v1/products/juniper/junos

Index

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

Exploitation

  • Authentication required: yes
  • Hackerone reports: 1
  • Exposed hosts: 23086
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since