Vulnerability Name:

CVE-2021-0252 (CCN-200003)

Assigned:2020-10-27
Published:2021-04-14
Updated:2022-05-12
Summary: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.
CVSS v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:4.6 Medium (CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
6.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-77
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2021-0252

Source: XF
Type: UNKNOWN
juniper-cve20210252-priv-esc(200003)

Source: MISC
Type: Exploit, Third Party Advisory
https://github.com/orangecertcc/security-research/security/advisories/GHSA-gr7j-26pv-5v57

Source: CCN
Type: Juniper Networks Security Bulletin JSA11145
Junos OS: NFX Series: Local Code Execution Vulnerability in JDMD Leads to Privilege Escalation (CVE-2021-0252)

Source: MISC
Type: Vendor Advisory
https://kb.juniper.net/JSA11145

Vulnerable Configuration:Configuration 1:
  • cpe:/o:juniper:junos:18.1:r1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r2-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r2-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r1-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r1-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r2-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r2-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r2-s4:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3-s4:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3-s5:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r1:-:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r1-s4:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r1-s5:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r2-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r2-s4:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r1-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r1-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r1-s4:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r1-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3-s6:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3-s7:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3-s8:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3-s9:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r2-s5:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r2-s6:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r3-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r3-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r3-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r3-s4:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r1-s5:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r1-s6:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r2-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r2-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r2-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r3-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r1-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r1-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r1-s4:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r1-s5:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r1-s6:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r2-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r2-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r2-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r3-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.1:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.1:r1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.1:r1-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.1:r1-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.2:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.2:r1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.2:r1-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.2:r1-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.2:r1-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.2:r1-s4:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3-s10:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3-s11:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3-s12:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r1-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r2-s7:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r3-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r1-s7:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r2-s4:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r3-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r3-s3:*:*:*:*:*:*
  • AND
  • cpe:/h:juniper:nfx250:-:*:*:*:*:*:*:*
  • OR cpe:/h:juniper:nfx150:-:*:*:*:*:*:*:*
  • OR cpe:/h:juniper:nfx350:-:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:juniper:junos:18.1:-:*:*:*:*:*:*
  • OR cpe:/a:juniper:junos:18.2:*:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.1:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.2:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    juniper junos 18.1 r1
    juniper junos 18.1 r3
    juniper junos 18.1 r2
    juniper junos 18.2 -
    juniper junos 18.2 r2-s1
    juniper junos 18.2 r2-s2
    juniper junos 18.2 r1-s3
    juniper junos 18.3 r1-s1
    juniper junos 18.3 r2
    juniper junos 18.3 r1
    juniper junos 18.1 r2-s1
    juniper junos 18.1 r2-s2
    juniper junos 18.1 r2-s4
    juniper junos 18.1 r3-s1
    juniper junos 18.1 r3-s2
    juniper junos 18.1 r3-s3
    juniper junos 18.1 r3-s4
    juniper junos 18.1 r3-s5
    juniper junos 18.2 r1
    juniper junos 18.2 r1-s4
    juniper junos 18.2 r1-s5
    juniper junos 18.2 r2-s3
    juniper junos 18.2 r2-s4
    juniper junos 18.3 -
    juniper junos 18.3 r1-s2
    juniper junos 18.3 r1-s3
    juniper junos 18.3 r1-s4
    juniper junos 18.4 -
    juniper junos 18.4 r1
    juniper junos 18.4 r1-s1
    juniper junos 18.1 r3-s6
    juniper junos 18.1 r3-s7
    juniper junos 18.1 r3-s8
    juniper junos 18.1 r3-s9
    juniper junos 18.2 r2
    juniper junos 18.2 r2-s5
    juniper junos 18.2 r2-s6
    juniper junos 18.2 r3
    juniper junos 18.2 r3-s1
    juniper junos 18.2 r3-s2
    juniper junos 18.2 r3-s3
    juniper junos 18.2 r3-s4
    juniper junos 18.3 r1-s5
    juniper junos 18.3 r1-s6
    juniper junos 18.3 r2-s1
    juniper junos 18.3 r2-s2
    juniper junos 18.3 r2-s3
    juniper junos 18.3 r3
    juniper junos 18.3 r3-s1
    juniper junos 18.4 r1-s2
    juniper junos 18.4 r1-s3
    juniper junos 18.4 r1-s4
    juniper junos 18.4 r1-s5
    juniper junos 18.4 r1-s6
    juniper junos 18.4 r2
    juniper junos 18.4 r2-s1
    juniper junos 18.4 r2-s2
    juniper junos 18.4 r2-s3
    juniper junos 18.4 r3
    juniper junos 18.4 r3-s2
    juniper junos 19.1 -
    juniper junos 19.1 r1
    juniper junos 19.1 r1-s1
    juniper junos 19.1 r1-s2
    juniper junos 19.2 -
    juniper junos 19.2 r1
    juniper junos 19.2 r1-s1
    juniper junos 19.2 r1-s2
    juniper junos 19.2 r1-s3
    juniper junos 19.2 r1-s4
    juniper junos 18.1 r3-s10
    juniper junos 18.1 r3-s11
    juniper junos 18.1 r3-s12
    juniper junos 18.2 r1-s2
    juniper junos 18.2 r2-s7
    juniper junos 18.3 r3-s2
    juniper junos 18.4 r1-s7
    juniper junos 18.4 r2-s4
    juniper junos 18.4 r3-s1
    juniper junos 18.4 r3-s3
    juniper nfx250 -
    juniper nfx150 -
    juniper nfx350 -
    juniper junos 18.1 -
    juniper junos 18.2
    juniper junos 18.3 -
    juniper junos 18.4 -
    juniper junos 19.1 -
    juniper junos 19.2 -