CVE-2021-31366
CVE-2021-31366 is a medium-severity vulnerability in Juniper Junos with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-252.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- CVSS v2: 3.3
- EPSS exploit prediction: 0% (33rd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-252
- Affected product: Juniper Junos
- Published:
- Last modified:
Description
An Unchecked Return Value vulnerability in the authd (authentication daemon) of Juniper Networks Junos OS on MX Series configured for subscriber management / BBE allows an adjacent attacker to cause a crash by sending a specific username. This impacts authentication, authorization, and accounting (AAA) services on the MX devices and leads to a Denial of Service (DoS) condition. Continued receipted of these PPP login request will create a sustained Denial of Service (DoS) condition. This issue affects: Juniper Networks Junos OS 15.1 versions prior to 15.1R7-S9; 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.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.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.
Frequently asked questions
- What is CVE-2021-31366?
- An Unchecked Return Value vulnerability in the authd (authentication daemon) of Juniper Networks Junos OS on MX Series configured for subscriber management / BBE allows an adjacent attacker to cause a crash by sending a specific username. This impacts authentication, authorization, and accounting (AAA) services on the MX devices and leads to a Denial of Service (DoS) condition. Continued receipted of these PPP login request will create a sustained Denial of Service (DoS) condition. This issue affects: Juniper Networks Junos OS 15.1 versions prior to 15.1R7-S9; 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.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.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.
- How severe is CVE-2021-31366?
- CVE-2021-31366 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over an adjacent network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2021-31366 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (33rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-31366?
- CVE-2021-31366 primarily affects Juniper Junos. In total, 267 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-31366?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-31366 published?
- CVE-2021-31366 was published on 2021-10-19 and last updated on 2026-06-17.
References
Affected products (267)
- cpe:2.3:o:juniper:junos:15.1:-:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:a1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f2-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f2-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f2-s3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f2-s4:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f4:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f5:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f5-s7:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f6:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f6-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f6-s10:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f6-s12:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f6-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f6-s3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f6-s4:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f6-s5:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f6-s6:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f6-s7:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f6-s8:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f6-s9:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:f7:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:r:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:r1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:r2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:r3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:r4:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:r4-s7:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:r4-s8:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:r4-s9:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:r5:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:r5-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:r5-s3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:r5-s5:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:r5-s6:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos:15.1:r6:*:*:*:*:*:*
More vulnerabilities in Juniper Junos
- CVE-2021-0248 — Critical (CVSS 10.0): This issue is not applicable to NFX NextGen Software. On NFX Series devices the use of Hard-coded Credentials in…
- CVE-2021-0211 — Critical (CVSS 10.0): An improper check for unusual or exceptional conditions in Juniper Networks Junos OS and Junos OS Evolved Routing…
- CVE-2020-1614 — Critical (CVSS 10.0): A Use of Hard-coded Credentials vulnerability exists in the NFX250 Series for the vSRX Virtual Network Function (VNF)…
- CVE-2017-2343 — Critical (CVSS 10.0): The Integrated User Firewall (UserFW) feature was introduced in Junos OS version 12.1X47-D10 on the Juniper SRX Series…
- CVE-2013-4685 — Critical (CVSS 10.0): Buffer overflow in flowd in Juniper Junos 10.4 before 10.4S14, 11.4 before 11.4R7, 12.1 before 12.1R6, and 12.1X44…
- CVE-2017-2349 — Critical (CVSS 9.9): A command injection vulnerability in the IDP feature of Juniper Networks Junos OS on SRX series devices potentially…
All CVEs affecting Juniper Junos →
Other CWE-252 vulnerabilities
- CVE-2025-66565 — Critical (CVSS 9.8): Fiber Utils is a collection of common functions created for Fiber. In versions 2.0.0-rc.3 and below, when the system's…
- CVE-2021-38171 — Critical (CVSS 9.8): adts_decode_extradata in libavformat/adtsenc.c in FFmpeg 4.4 does not check the init_get_bits return value, which is a…
- CVE-2021-26955 — Critical (CVSS 9.8): An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because…
- CVE-1999-0199 — Critical (CVSS 9.8): manual/search.texi in the GNU C Library (aka glibc) before 2.2 lacks a statement about the unspecified tdelete return…
- CVE-2019-15900 — Critical (CVSS 9.8): An issue was discovered in slicer69 doas before 6.2 on certain platforms other than OpenBSD. On platforms without…
- CVE-2010-0211 — Critical (CVSS 9.8): The slap_modrdn2mods function in modrdn.c in OpenLDAP 2.4.22 does not check the return value of a call to the…