# CVE-2021-31357: Junos OS Evolved: shell-injection vulnerabilities in evo_tcpdump UI wrapper script

- Severity: High 7.8 (CVSS:3.1, scored by juniper) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2021-10-19T18:16:41.144Z
- Modified: 2026-06-17T03:51:36.930Z
- Weaknesses: CWE-77, CWE-78
- Assigned by: juniper

## Description

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.

(As written by CVE List.)

## Affected

- Juniper Networks Junos OS Evolved: from unspecified before 20.3R2-S1-EVO; from 20.4 before 20.4R2-S2-EVO; from 21.1 before 21.1R2-EVO; from 21.2 before 21.2R1-S1-EVO, 21.2R2-EVO
- juniper junos_os_evolved: up to 20.3; 20.4; 21.1; 21.2

## Every score

- juniper: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://kb.juniper.net/JSA11221> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-31357](https://www.cve.org/CVERecord?id=CVE-2021-31357), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2021-31357](https://nvd.nist.gov/vuln/detail/CVE-2021-31357), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31357 · Whole record: https://cve.day/CVE-2021-31357.json · Rebuilt by cve.day 2026-11-25T22:58:04.574Z
