CVE-2021-31357

published 19 Oct 2021 · updated 17 Sep 2024

Junos OS Evolved: shell-injection vulnerabilities in evo_tcpdump UI wrapper script

7.8HighCVSS 7.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 20.3R2-S1-EVO, 20.4R2-S2-EVO, 21.1R2-EVO and 1 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Juniper Networks<20.3R2-S1-EVO, >=20.4 <20.4R2-S2-EVO, >=21.1 <21.1R2-EVO, >=21.2 <21.2R1-S1-EVO, 21.2R2-EVO20.3R2-S1-EVO, 20.4R2-S2-EVO, 21.1R2-EVO, 21.2R1-S1-EVO, 21.2R2-EVO

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-31357 severity on Zeptric[![CVE-2021-31357](https://zeptric.io/badge/cve/CVE-2021-31357.svg)](https://zeptric.io/cve/CVE-2021-31357)