Home / Juniper Networks / Junos OS / CVE-2021-31378
CVE-2021-31378: is it exploited, and which versions of Juniper Networks Junos OS are affected and fixed?
CVE-2021-31378 is a resource not released after use vulnerability in Juniper Networks Junos OS. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: Junos OS from 17.3 before 17.3R3-S12, Junos OS from 17.4 before 17.4R3-S5, Junos OS from 18.1 before 18.1R3-S13 and 12 more (CVE record by juniper). Fixed in 17.3R3-S12, 17.4R3-S5, 18.1R3-S13, 18.2R3-S8 and 2 more (CVE record by juniper). Severity: Medium (6.8, CVSS 3.1, from juniper).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:54 UTC.
What is CVE-2021-31378?
Junos OS: An attacker sending spoofed RADIUS messages to a Junos OS device configured for broadband services may cause broadband subscribers to remain stuck in a "Terminating" state.
In broadband environments, including but not limited to Enhanced Subscriber Management, (CHAP, PPP, DHCP, etc.), on Juniper Networks Junos OS devices where RADIUS servers are configured for managing subscriber access and a subscriber is logged in and then requests to logout, the subscriber may be forced into a "Terminating" state by an attacker who is able to send spoofed messages appearing to originate from trusted RADIUS server(s) destined to the device in response to the subscriber's request. These spoofed messages cause the Junos OS General Authentication Service (authd) daemon to force the broadband subscriber into this "Terminating" state which the subscriber will not recover from thereby causing a Denial of Service (DoS) to the endpoint device. Once in the "Terminating" state, the endpoint subscriber will no longer be able to access the network. Restarting the authd daemon on the Junos OS device will temporarily clear the subscribers out of the "Terminating" state. As long as the attacker continues to send these spoofed packets and subscribers request to be logged out, the subscribers will be returned to the "Terminating" state thereby creating a persistent Denial of Service to the subscriber. An indicator of compromise may be seen by displaying the output of "show subscribers summary". The presence of subscribers in the "Terminating" state may indicate the issue is occurring. This issue affects: Juniper Networks Junos OS 17.3 versions prior to 17.3R3-S12; 17.4 versions prior to 17.4R3-S5; 18.1 versions prior to 18.1R3-S13; 18.2 versions prior to 18.2R3-S8; 18.3 versions prior to 18.3R3-S5; 18.4 versions prior to 18.4R2-S8, 18.4R3-S9; 19.1 versions prior to 19.1R3-S6; 19.2 versions prior to 19.2R1-S7, 19.2R3-S3; 19.3 versions prior to 19.3R2-S6, 19.3R3-S3; 19.4 versions prior to 19.4R1-S4, 19.4R1-S4, 19.4R3-S3; 20.1 versions prior to 20.1R3; 20.2 versions prior to 20.2R3-S1; 20.3 versions prior to 20.3R3; 20.4 versions prior to 20.4R3; 21.1 versions prior to 21.1R2. This issue does not affect: Juniper Networks Junos OS 12.3 version 12.3R1 and later versions; 15.1 version 15.1R1 and later versions.
From the CVE record by juniper, last updated September 16, 2024, 20:36 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Juniper Networks | Junos OS | from 17.3 before 17.3R3-S12 from 17.4 before 17.4R3-S5 from 18.1 before 18.1R3-S13 from 18.2 before 18.2R3-S8 from 18.3 before 18.3R3-S5 from 18.4 before 18.4R2-S8, 18.4R3-S9 from 19.1 before 19.1R3-S6 from 19.2 before 19.2R1-S7, 19.2R3-S3 from 19.3 before 19.3R2-S6, 19.3R3-S3 from 19.4 before 19.4R1-S4, 19.4R1-S4, 19.4R3-S3 from 20.1 before 20.1R3 from 20.2 before 20.2R3-S1 and 3 more ranges | 17.3R3-S12, 17.4R3-S5, 18.1R3-S13, 18.2R3-S8, 18.3R3-S5, 18.4R2-S8, 18.4R3-S9, 19.1R3-S6, 19.2R1-S7, 19.2R3-S3, 19.3R2-S6, 19.3R3-S3, 19.4R1-S4, 19.4R1-S4, 19.4R3-S3, 20.1R3, 20.2R3-S1, 20.3R3, 20.4R3, 21.1R2, 12.3R1, 15.1R1 |
As the CVE record by juniper states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| juniper | junos | 17.3 | operating system |
| juniper | junos | 17.4 | operating system |
| juniper | junos | 18.1 | operating system |
| juniper | junos | 18.2 | operating system |
| juniper | junos | 18.3 | operating system |
| juniper | junos | 18.4 | operating system |
| juniper | junos | 19.1 | operating system |
| juniper | junos | 19.2 | operating system |
| juniper | junos | 19.3 | operating system |
| juniper | junos | 19.4 | operating system |
| juniper | junos | 20.1 | operating system |
| juniper | junos | 20.2 | operating system |
| juniper | junos | 20.3 | operating system |
| juniper | junos | 20.4 | operating system |
| juniper | junos | 21.1 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 03:51 UTC.
How severe is CVE-2021-31378?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H | juniper |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-31378 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.01% probability of exploitation activity in the next 30 days, percentile 64.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-772 Missing Release of Resource after Effective Lifetime
How do I fix it? (from the CVE record)
The following software releases have been updated to resolve this specific issue: 17.3R3-S12, 17.4R3-S5, 18.1R3-S13, 18.2R3-S8, 18.3R3-S5, 18.4R2-S8, 18.4R3-S9, 19.1R3-S6, 19.2R1-S7, 19.2R3-S3, 19.3R2-S6, 19.3R3-S3, 19.4R1-S4, 19.4R3-S3, 20.1R3, 20.2R3-S1, 20.3R3, 20.4R3, 21.1R2, 21.2R1, and all subsequent releases.
Is there a workaround? (from the CVE record)
There are no viable workarounds for this issue.
Where are the vendor advisories and references?
- https://kb.juniper.net/JSA11246 x_refsource_CONFIRM
- https://www.juniper.net/documentation/us/en/software/junos/subscriber-mgmt-sessions/topics/topic-map/general-authentication-service-events-tracing.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 15, 2021
- Published
- October 19, 2021, 18:17 UTC
- CVE record updated
- September 16, 2024, 20:36 UTC by juniper
- NVD
- Modified, last modified June 17, 2026, 03:51 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:54 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Junos OS?
- Mar 12, 2025CVE-2025-21590 Juniper Networks Junos OS: improper Isolation or Compartmentalization exploited
- Sep 26, 2023CVE-2023-36851 Juniper Networks Junos OS: missing authentication for a critical function exploited
- Aug 17, 2023CVE-2023-36846 Juniper Networks Junos OS: missing authentication for a critical function exploited
- Aug 17, 2023CVE-2023-36845 Juniper Networks Junos OS: PHP External Variable Modification exploited
- Aug 17, 2023CVE-2023-36844 Juniper Networks Junos OS: PHP External Variable Modification exploited
- Aug 17, 2023CVE-2023-36847 Juniper Networks Junos OS: missing authentication for a critical function exploited
- May 4, 2020CVE-2020-1631 Juniper Networks Junos OS: path traversal (reading or writing files outside the intended folder) exploited
- Oct 14, 2026CVE-2026-101954 Juniper Networks Junos OS: authentication bypass (improper authentication)
Questions about CVE-2021-31378
Is CVE-2021-31378 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 1.01% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Juniper Networks Junos OS are affected by CVE-2021-31378?
Junos OS from 17.3 before 17.3R3-S12, Junos OS from 17.4 before 17.4R3-S5, Junos OS from 18.1 before 18.1R3-S13, Junos OS from 18.2 before 18.2R3-S8, Junos OS from 18.3 before 18.3R3-S5, Junos OS from 18.4 before 18.4R2-S8, 18.4R3-S9 and 9 more, per the CVE record by juniper. The tables above give every range the sources list.
Which version fixes CVE-2021-31378?
17.3R3-S12, 17.4R3-S5, 18.1R3-S13, 18.2R3-S8, 18.3R3-S5 and 18.4R2-S8, 18.4R3-S9, per the CVE record by juniper. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-31378?
Medium (6.8, CVSS 3.1, from juniper). The severity table above shows each score with its source.
Where is the official record of CVE-2021-31378?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.