CVE-2021-31358

Summary

CVECVE-2021-31358
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-10-19 19:15:00 UTC
Updated2022-10-24 18:44:00 UTC
DescriptionA command injection vulnerability in sftp command processing on Juniper Networks Junos OS Evolved allows an attacker with authenticated CLI access to be able to bypass configured access protections to execute arbitrary shell commands within the context of the current user. The vulnerability allows an attacker to bypass command authorization restrictions assigned to their specific user account and execute commands that are available to the privilege level for which the user is assigned. For example, a user that is in the super-user login class, but restricted to executing specific CLI commands could exploit the vulnerability to execute any other command available to an unrestricted admin user. This vulnerability does not increase the privilege level of the user, but rather bypasses any CLI command restrictions by allowing full access to the shell. This issue affects Juniper Networks Junos OS Evolved: All versions prior to 20.4R2-S2-EVO; 21.1 versions prior to 21.1R2-EVO; 21.2 versions prior to 21.2R1-S1-EVO, 21.2R2-EVO.

Risk And Classification

Problem Types: CWE-78

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Juniper Junos Os Evolved 20.4 r1 All All
Operating System Juniper Junos Os Evolved 20.4 r1-s1 All All
Operating System Juniper Junos Os Evolved 20.4 r1-s2 All All
Operating System Juniper Junos Os Evolved 20.4 r2 All All
Operating System Juniper Junos Os Evolved 20.4 r2-s1 All All
Operating System Juniper Junos Os Evolved 20.4 r2-s2 All All
Operating System Juniper Junos Os Evolved 20.4 r2-s3 All All
Operating System Juniper Junos Os Evolved 20.4 r3 All All
Operating System Juniper Junos Os Evolved 21.1 - All All
Operating System Juniper Junos Os Evolved 21.1 r1 All All
Operating System Juniper Junos Os Evolved 21.1 r1-s1 All All
Operating System Juniper Junos Os Evolved 21.1 r2 All All
Operating System Juniper Junos Os Evolved 21.2 r1 All All
Operating System Juniper Junos Os Evolved 21.2 r1-s1 All All
Operating System Juniper Junos Os Evolved 21.2 r2 All All
Operating System Juniper Junos Os Evolved All All All All

References

ReferenceSourceLinkTags
2021-10 Security Bulletin: Junos OS Evolved: Multiple shell-injection vulnerabilities in EVO UI wrapper scripts - Juniper Networks CONFIRM kb.juniper.net
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report