CVE-2021-31354

Junos OS and Junos OS Evolved: A vulnerability in the Juniper Agile License Client may allow an attacker to perform Remote Code Execution (RCE)

AllVuln state: AFFECTED

HIGH
CVSS
7.1
3.1
EPSS
0.63%
Percentile 51.63%
CISA KEV
Not listed
Published
October 19, 2021
Updated September 17, 2024

Description

An Out Of Bounds (OOB) access vulnerability in the handling of responses by a Juniper Agile License (JAL) Client in Juniper Networks Junos OS and Junos OS Evolved, configured in Network Mode (to use Juniper Agile License Manager) may allow an attacker to cause a partial Denial of Service (DoS), or lead to remote code execution (RCE). The vulnerability exists in the packet parsing logic on the client that processes the response from the server using a custom protocol. An attacker with control of a JAL License Manager, or with access to the local broadcast domain, may be able to spoof a new JAL License Manager and/or craft a response to the Junos OS License Client, leading to exploitation of this vulnerability. This issue only affects Junos systems configured in Network Mode. Systems that are configured in Standalone Mode (the default mode of operation for all systems) are not vulnerable to this issue. This issue affects: Juniper Networks Junos OS: 19.2 versions prior to 19.2R3-S3; 19.3 versions prior to 19.3R3-S3; 20.1 versions prior to 20.1R2-S2, 20.1R3-S1; 20.2 versions prior to 20.2R3-S2; 20.3 versions prior to 20.3R3; 20.4 versions prior to 20.4R3; 21.1 versions prior to 21.1R2. Juniper Networks Junos OS Evolved: version 20.1R1-EVO and later versions, prior to 21.2R2-EVO. This issue does not affect Juniper Networks Junos OS versions prior to 19.2R1.

Risk details

CVSS vector
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
attack vector
A
attack complexity
H
privileges required
N
user interaction
N
scope
U
CWE
CWE-125, Denial of Service (DoS)

What should I do?

Review the vendor remediation for fixed or recommended release 21.2R2-EVO.

Supported product evidence

Juniper Networks · Junos OS Evolved
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · EXACT
20.1R1-EVO
AFFECTED · RANGE
21.2R2-EVO
NOT_AFFECTED · EXACT
21.2R2-EVO
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R2-EVO
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

NOT_AFFECTED · RANGE
19.2R1
AFFECTED · RANGE
19.2R3-S3
NOT_AFFECTED · EXACT
19.2R3-S3
AFFECTED · RANGE
19.3R3-S3
NOT_AFFECTED · EXACT
19.3R3-S3
UNKNOWN · UNKNOWN
{"lessThan": "20.1R2-S2, 20.1R3-S1", "status": "affected", "version": "20.1", "versionType": "custom"}
AFFECTED · RANGE
20.2R3-S2
NOT_AFFECTED · EXACT
20.2R3-S2
AFFECTED · RANGE
20.3R3
NOT_AFFECTED · EXACT
20.3R3
AFFECTED · RANGE
20.4R3
NOT_AFFECTED · EXACT
20.4R3
AFFECTED · RANGE
21.1R2
NOT_AFFECTED · EXACT
21.1R2
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

FIX_AVAILABLE
Release train: 19.2
First fixed: 19.2R3-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 19.3
First fixed: 19.3R3-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.2
First fixed: 20.2R3-S2
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.3
First fixed: 20.3R3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.4
First fixed: 20.4R3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.1
First fixed: 21.1R2
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS Evolved
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
20.1R1-EVO → unspecified
Required configuration: Systems vulnerable to this issue will have the Junos License Client set to Network Mode as follows: [system license network-mode]
AFFECTED · RANGE
unspecified → 21.2R2-EVO
Required configuration: Systems vulnerable to this issue will have the Junos License Client set to Network Mode as follows: [system license network-mode]

Remediation

UNKNOWN
Release train: 20.1R1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: Not specified
First fixed: Unknown
Vendor recommended: Not supplied
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

NOT_AFFECTED · RANGE
unspecified → 19.2R1
Required configuration: Systems vulnerable to this issue will have the Junos License Client set to Network Mode as follows: [system license network-mode]
AFFECTED · RANGE
19.2 → 19.2R3-S3
Required configuration: Systems vulnerable to this issue will have the Junos License Client set to Network Mode as follows: [system license network-mode]
AFFECTED · RANGE
19.3 → 19.3R3-S3
Required configuration: Systems vulnerable to this issue will have the Junos License Client set to Network Mode as follows: [system license network-mode]
AFFECTED · RANGE
20.1 → 20.1R2-S2, 20.1R3-S1
Required configuration: Systems vulnerable to this issue will have the Junos License Client set to Network Mode as follows: [system license network-mode]
AFFECTED · RANGE
20.2 → 20.2R3-S2
Required configuration: Systems vulnerable to this issue will have the Junos License Client set to Network Mode as follows: [system license network-mode]
AFFECTED · RANGE
20.3 → 20.3R3
Required configuration: Systems vulnerable to this issue will have the Junos License Client set to Network Mode as follows: [system license network-mode]
AFFECTED · RANGE
20.4 → 20.4R3
Required configuration: Systems vulnerable to this issue will have the Junos License Client set to Network Mode as follows: [system license network-mode]
AFFECTED · RANGE
21.1 → 21.1R2
Required configuration: Systems vulnerable to this issue will have the Junos License Client set to Network Mode as follows: [system license network-mode]

Remediation

UNKNOWN
Release train: 19.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.1
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.