First published: Tue Oct 19 2021(Updated: )
A command injection vulnerability in tcpdump 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.3R2-S1-EVO; 20.4 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.
Credit: sirt@juniper.net
Affected Software | Affected Version | How to fix |
---|---|---|
Juniper Junos Os Evolved | <=20.3 | |
Juniper Junos Os Evolved | =20.4-r1 | |
Juniper Junos Os Evolved | =20.4-r1-s1 | |
Juniper Junos Os Evolved | =20.4-r1-s2 | |
Juniper Junos Os Evolved | =20.4-r2 | |
Juniper Junos Os Evolved | =20.4-r2-s1 | |
Juniper Junos Os Evolved | =20.4-r2-s2 | |
Juniper Junos Os Evolved | =20.4-r2-s3 | |
Juniper Junos Os Evolved | =20.4-r3 | |
Juniper Junos Os Evolved | =21.1 | |
Juniper Junos Os Evolved | =21.1-r1 | |
Juniper Junos Os Evolved | =21.1-r1-s1 | |
Juniper Junos Os Evolved | =21.1-r2 | |
Juniper Junos Os Evolved | =21.2-r1 | |
Juniper Junos Os Evolved | =21.2-r1-s1 | |
Juniper Junos Os Evolved | =21.2-r2 |
The following software releases have been updated to resolve this specific issue: Junos OS Evolved 20.3R2-S1-EVO, 20.4R2-S2-EVO, 21.1R2-EVO, 21.2R1-S1-EVO, 21.2R2-EVO, 21.3R1-EVO, and all subsequent releases.
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-31357 is a command injection vulnerability in the tcpdump command processing on Juniper Networks Junos OS Evolved.
The severity of CVE-2021-31357 is high with a CVSS score of 7.8.
CVE-2021-31357 allows an attacker with authenticated CLI access to bypass configured access protections and execute arbitrary shell commands within the current user's context.
Juniper Junos OS Evolved versions up to 20.3 are affected by CVE-2021-31357.
To fix CVE-2021-31357, users should update to a version of Juniper Junos OS Evolved that is not vulnerable.