Product Affected

This issue affects all versions of Junos OS. Affected platforms: EX Series, SRX Series.
High
7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)

Problem

An Improper Neutralization of Special Elements vulnerability in the download manager of Juniper Networks Junos OS 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 system download ...' 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.


Juniper SIRT is not aware of any malicious exploitation of this vulnerability.

This issue was seen during production usage.

This issue has been assigned CVE-2022-22221.
 

Solution

The following software releases have been updated to resolve this specific issue: Junos OS 19.1R3-S9, 19.2R1-S9, 19.2R3-S5, 19.4R3-S8, 20.2R3-S4, 20.3R3-S3, 20.4R3-S2, 20.4R3-S3, 21.1R3-S1, 21.2R2-S2, 21.2R3, 21.3R2, 21.3R3, 21.4R1-S1, 21.4R2, 22.1R1, and all subsequent releases.
 

Note: Juniper SIRT's policy is not to evaluate releases which are beyond End of Engineering (EOE) or End of Life (EOL).
 

This issue is being tracked as 1632136.
 

Workaround

A workaround would be to deny users access to the 'request system download ...' and 'show system download ...' CLI commands.
 

Severity Assessment

Information for how Juniper Networks uses CVSS can be found at KB 16446 [juniper.net] "Common Vulnerability Scoring System (CVSS) and Juniper's Security Advisories."

Modification History

2022-07-13: Initial publication

Related Information