# CVE-2021-31350: Junos OS and Junos OS Evolved: Privilege escalation vulnerability in Juniper Extension Toolkit (JET)

- Severity: High 7.5 (CVSS:3.1, scored by juniper) `CVSS:3.1/AV:N/AC:H/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.87%, higher than 59% of CVEs (2026-12-01)
- Published: 2021-10-19T18:16:30.117Z
- Modified: 2026-06-17T03:51:35.777Z
- Weaknesses: CWE-269
- Assigned by: juniper

## Description

An Improper Privilege Management vulnerability in the gRPC framework, used by the Juniper Extension Toolkit (JET) API on Juniper Networks Junos OS and Junos OS Evolved, allows a network-based, low-privileged authenticated attacker to perform operations as root, leading to complete compromise of the targeted system. The issue is caused by the JET service daemon (jsd) process authenticating the user, then passing configuration operations directly to the management daemon (mgd) process, which runs as root. This issue affects Juniper Networks Junos OS: 18.4 versions prior to 18.4R1-S8, 18.4R2-S8, 18.4R3-S8; 19.1 versions prior to 19.1R2-S3, 19.1R3-S5; 19.2 versions prior to 19.2R1-S7, 19.2R3-S2; 19.3 versions prior to 19.3R2-S6, 19.3R3-S2; 19.4 versions prior to 19.4R1-S4, 19.4R2-S4, 19.4R3-S3; 20.1 versions prior to 20.1R2-S2, 20.1R3; 20.2 versions prior to 20.2R2-S3, 20.2R3; 20.3 versions prior to 20.3R2-S1, 20.3R3; 20.4 versions prior to 20.4R2. This issue does not affect Juniper Networks Junos OS versions prior to 18.4R1. Juniper Networks Junos OS Evolved: All versions prior to 20.4R2-EVO; 21.1-EVO versions prior to 21.1R2-EVO.

(As written by CVE List.)

## Affected

- Juniper Networks Junos OS: from 18.4 before 18.4R1-S8, 18.4R2-S8, 18.4R3-S8; from 19.1 before 19.1R2-S3, 19.1R3-S5; from 19.2 before 19.2R1-S7, 19.2R3-S2; from 19.3 before 19.3R2-S6, 19.3R3-S2; from 19.4 before 19.4R1-S4, 19.4R2-S4, 19.4R3-S3; from 20.1 before 20.1R2-S2, 20.1R3; from 20.2 before 20.2R2-S3, 20.2R3; from 20.3 before 20.3R2-S1, 20.3R3; from 20.4 before 20.4R2 (not affected: from unspecified before 18.4R1)
- Juniper Networks Junos OS Evolved: from unspecified before 20.4R2-EVO; from 21.1-EVO before 21.1R2-EVO
- juniper junos: 18.4; 19.1; 19.2; 19.3; 19.4; 20.1
- juniper junos_os_evolved: 18.3; 19.1; 19.2; 19.3; 19.4; 20.1; 20.2; 20.3; 20.4; 21.1

## Every score

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

## References

- <https://kb.juniper.net/JSA11215> (patch, vendor-advisory)

## Sources

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

---

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