Security mailing lists by PureSourceCode

CVE-2021-31357

HIGH 7.8CVSS 3.1

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.

Published
19 Oct 2021
Last modified
17 Jun 2026
Assigned by
sirt@juniper.net
NVD status
Modified
Weakness
CWE-77CWE-78
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD sirt@juniper.net (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD juniper junos_os_evolved
cpe:2.3:o:juniper:junos_os_evolved:*:*:*:*:*:*:*:*
<= 20.3
NVD juniper junos_os_evolved
cpe:2.3:o:juniper:junos_os_evolved:20.4:r1:*:*:*:*:*:*
= 20.4
NVD juniper junos_os_evolved
cpe:2.3:o:juniper:junos_os_evolved:20.4:r1-s1:*:*:*:*:*:*
= 20.4
NVD juniper junos_os_evolved
cpe:2.3:o:juniper:junos_os_evolved:20.4:r1-s2:*:*:*:*:*:*
= 20.4
NVD juniper junos_os_evolved
cpe:2.3:o:juniper:junos_os_evolved:20.4:r2:*:*:*:*:*:*
= 20.4
NVD juniper junos_os_evolved
cpe:2.3:o:juniper:junos_os_evolved:20.4:r2-s1:*:*:*:*:*:*
= 20.4
NVD juniper junos_os_evolved
cpe:2.3:o:juniper:junos_os_evolved:20.4:r2-s2:*:*:*:*:*:*
= 20.4
NVD juniper junos_os_evolved
cpe:2.3:o:juniper:junos_os_evolved:20.4:r2-s3:*:*:*:*:*:*
= 20.4
NVD juniper junos_os_evolved
cpe:2.3:o:juniper:junos_os_evolved:20.4:r3:*:*:*:*:*:*
= 20.4
NVD juniper junos_os_evolved
cpe:2.3:o:juniper:junos_os_evolved:21.1:-:*:*:*:*:*:*
= 21.1
NVD juniper junos_os_evolved
cpe:2.3:o:juniper:junos_os_evolved:21.1:r1:*:*:*:*:*:*
= 21.1
NVD juniper junos_os_evolved
cpe:2.3:o:juniper:junos_os_evolved:21.1:r1-s1:*:*:*:*:*:*
= 21.1
NVD juniper junos_os_evolved
cpe:2.3:o:juniper:junos_os_evolved:21.1:r2:*:*:*:*:*:*
= 21.1
NVD juniper junos_os_evolved
cpe:2.3:o:juniper:junos_os_evolved:21.2:r1:*:*:*:*:*:*
= 21.2
NVD juniper junos_os_evolved
cpe:2.3:o:juniper:junos_os_evolved:21.2:r1-s1:*:*:*:*:*:*
= 21.2
NVD juniper junos_os_evolved
cpe:2.3:o:juniper:junos_os_evolved:21.2:r2:*:*:*:*:*:*
= 21.2

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 19 Oct 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.