# CVE-2021-0252: Junos OS: NFX Series: Local Code Execution Vulnerability in JDMD Leads to Privilege Escalation

- 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.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-22T19:37:14.078Z
- Modified: 2026-06-17T03:29:36.813Z
- Weaknesses: CWE-77
- Assigned by: juniper

## Description

NFX Series devices using Juniper Networks Junos OS are susceptible to a local code execution vulnerability thereby allowing an attacker to elevate their privileges via the Junos Device Management Daemon (JDMD) process. This issue affects Juniper Networks Junos OS on NFX Series: 18.1 version 18.1R1 and later versions prior to 18.2R3-S5; 18.3 versions prior to 18.3R2-S4, 18.3R3-S3; 18.4 versions prior to 18.4R2-S5, 18.4R3-S4; 19.1 versions prior to 19.1R1-S3, 19.1R2; 19.2 versions prior to 19.2R1-S5, 19.2R2. This issue does not affect: Juniper Networks Junos OS versions prior to 18.1R1. This issue does not affect the JDMD as used by Junos Node Slicing such as External Servers use in conjunction with Junos Node Slicing and In-Chassis Junos Node Slicing on MX480, MX960, MX2008, MX2010, MX2020.

(As written by CVE List.)

## Affected

- Juniper Networks Junos OS: from 18.1R1 before 18.1*; from 18.2 before 18.2R3-S5; from 18.3 before 18.3R2-S4, 18.3R3-S3; from 18.4 before 18.4R2-S5, 18.4R3-S4; from 19.1 before 19.1R1-S3, 19.1R2; from 19.2 before 19.2R1-S5, 19.2R2 (not affected: from unspecified before 18.1R1)
- juniper junos: 18.1; 18.2; 18.3

## 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 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/orangecertcc/security-research/security/advisories/GHSA-gr7j-26pv-5v57> (exploit, third-party-advisory)
- <https://kb.juniper.net/JSA11145> (vendor-advisory)

## Sources

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

---

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