LiveActive security incident?Get immediate response
CVE Record

CVE-2021-31366: Junos OS: MX Series: In subscriber management / BBE configuration authd can crash if a subscriber with a specific username tries to login leading to a DoS

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.

MediumCVSS 6.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This flaw can crash the authentication service on certain Juniper MX routers when they run subscriber-management or BBE configurations. The business impact is service disruption: affected devices may lose AAA functionality, and repeated login attempts can sustain a denial-of-service condition.

Executive priority

Treat this as a moderate-priority availability risk for service-provider or broadband-edge environments. It is not evidenced as actively exploited here, but affected MX devices supporting AAA can suffer customer-facing disruption if left unpatched.

Technical view

CVE-2021-31366 is a CWE-252 unchecked-return-value issue in Junos OS authd on MX Series with subscriber management/BBE enabled. An adjacent unauthenticated attacker can trigger an authd crash via a specific subscriber username during PPP login, affecting AAA availability. CVSS is 6.5, availability impact high.

Likely exposure

Exposure is limited to Juniper MX Series running affected Junos OS versions and configured for subscriber management or BBE. Internet-wide exposure is not implied by the source bundle because the attack vector is adjacent network, not remote network.

Exploitation context

The bundle does not show CISA KEV listing or active exploitation evidence. The issue requires adjacency and a vulnerable operational configuration, but no credentials or user interaction. Repeated triggering can sustain the denial of service.

Researcher notes

Key constraints are platform, configuration, and adjacency. The sources identify Junos OS MX Series subscriber management/BBE only. Do not generalize to all Juniper products or all Junos deployments without separate evidence.

Mitigation direction

  • Upgrade affected Junos OS trains to the fixed versions listed by Juniper.
  • Review Juniper advisory JSA11228 before selecting a target maintenance release.
  • Prioritize devices providing subscriber management, broadband edge, or AAA-dependent services.
  • No source-bundle workaround is identified; follow vendor guidance for alternatives.
  • Monitor authd stability and AAA availability until remediation is complete.

Validation and detection

  • Inventory Juniper MX devices and record Junos OS release versions.
  • Confirm whether subscriber management or BBE configuration is enabled.
  • Map installed releases against Juniper's affected-version list.
  • Review logs and monitoring for authd crashes or AAA interruptions.
  • Verify remediated devices run a fixed or later Junos OS release.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-252: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-31366 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.5CVSS 3.1MediumCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H2.83.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.5Medium
CVSS 3.1 vector shape for CVE-2021-31366Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Juniper NetworksJunos OS15.1, 17.3, 17.4, 18.1, 18.2, 18.3, 18.4, 19.1, 19.2, 19.3, 19.4, 20.1, 20.2, 20.3, 20.4, 21.1Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-252 · source CWE mapping

Unchecked Return Value

Unchecked Return Value represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.